The correct response is: The remaining materials from the sun's formation clumped together due to gravity.
This describes the process of planet formation in the early solar system. After the Sun formed from a rotating cloud of gas and dust (the solar nebula), the remaining materials in the disk surrounding the newborn Sun began to collide and stick together, gradually forming larger bodies through a process called accretion. Over time, these bodies grew into the planets we observe today.