Isotopic similarities seen in materials that formed Earth, moon

Where did the materials that make up the Earth and moon come from—and when did they arrive?