Because its heavy and it was available
The main mechanism through which the layering happened is gravity: it pulled the heavier, denser material to the center, leaving the less dense material on the surface.
The material that was on the outside cooled quicker, but this was the result, not the cause.
The answer is
<span>2) Gravity caused more-dense material to move toward the center of each planet.</span>
no one would be able to help you because we can not see the chart