Answer:
For the most part space rocks, like snow balls, gathered up pieces of other rocks. If the collision was dynamic enough a lot of energy would be generated heating them up. Our moon was formed by a large object hitting earth a glancing blow. A chunk of earth and that asteroid then became the mostly molten moon.
Step-by-step explanation: