The most widely accepted theory is that the Moon formed from debris left over after a Mars-sized object collided with the Earth early in the solar system's history.