Currently, the theory that best explains all the evidence about the formation of the Earth's moon is that the Earth was struck by a large object, possibly as
large as Mars. This theory holds that sufficient debris was ejected from the Earth to form the Moon. Simulations of this scenario
show that energy from such a collision produces a stream of vaporized
rock from the impact. It is thought that the Moon formed from this cooled material.
This is page 14 of 60