The correct response is:
The remaining materials from the sun's formation clumped together due to gravity.
This accurately describes the process of planet formation within the solar system, where dust and gas in the protoplanetary disk surrounding the young sun coalesced through gravitational attraction to form the planets.