The correct response is: The remaining materials from the sun's formation clumped together due to gravity.
This refers to the process of planetary formation in the early solar system, where dust and gas in the protoplanetary disk surrounding the young Sun gradually coalesced due to gravitational attraction, eventually forming the planets.