In the early days of its formation, the Earth was a rapidly rotating body in the state of lava, and most of the iron was in its core; some molten liquid was thrown from the surface of this rotating body, and later condensed to form the Moon
The proportion of iron in the Moon's core is smaller than that in the Earth's core.