Question: what causes the different layers of the earth?
Answer: The earth has different layers because as it formed, the lighter parts (like continental crust) floated to the surface, and the really heavy parts (like iron and nickel in the core) sank to the middle.