Most scientists agree that the Earth has pretty much always had its moon. Details of the moon’s composition (in particular the “isotopic mixture” of heavier and lighter versions of various elements) are too similar to the Earth’s for it to have been captured from somewhere remote. However, some compositional details differ enough to rule out the idea that the moon is simply a chunk of the Earth that broke loose.