Which of the following statements summarizes how the formation of the solar system was similar to the differentiation of Earth into layers.

A. In both processes, the densest materials moved to the center

B. In both processes, the densest materials moved to the outside.

C. In the processes, the densest materials formed the middle layer.

D. In both processes, the densest materials were evenly distributed