Answer:
The terrestrial planets formed closer to the sun. Its particles did not join together easily, as radiation from the sun exerted pressure on the rest of the gas and dust in the disk. The planets near the sun lost their lighter materials, leaving behind rocky planets. The outer planets were less affected and were able to retain light nebular gases in their atmospheres.
Step-by-step explanation:
you're welcome:)