The origin of the oldest solid objects in the solar system