Answer:
Due to gravity and volatile matter.
Step-by-step explanation:
- As the rocky matter is refractory as it forms in the relatively high and warm and the presence of the gravity also plays a crucial role in the formation of the rocky masses.
- The volatile matter solidifies at a cold temperature and such as those in the outer parts of the nebula and thus gas giant is cold and icy plants as they form away from the sun and have distinct gravitational compositions.