The most widely accepted theory for the formation of the moon involves a large body hitting earth and ejecting debris that became the moon. A Mars-sized object slammed in the Earth billions of years ago. The collision makes the Earth to be a molten ball of rock once again and eject material into orbit.