The correct response is:
The remaining materials from the sun's formation clumped together due to gravity.
This answer accurately reflects the current scientific understanding of how planets formed in the solar system through a process known as accretion, where dust and gas in the protoplanetary disk around the young sun came together due to gravitational attraction.