Final answer:
The layers of the Earth formed through a process called chemical differentiation.
Step-by-step explanation:
The layers of the Earth formed through a process called d. Chemical differentiation. This process involves the separation of major components of a planet by density. When Earth was once warm enough for its interior to melt, the heavier metals sank to the center to form the dense core, while the lighter materials floated to the surface, forming the crust.