* Low Temperatures: Being far from the Sun, these planets experience extremely low temperatures. This means that the lighter elements like hydrogen and helium, which are the most abundant in the universe, remain in a gaseous state.
* Weak Gravity: While the outer planets are massive, their weaker gravity compared to the inner planets is not strong enough to hold onto heavier elements like rock and metal in the early solar system. These heavier elements were blown away by the solar wind, leaving behind the lighter gases.
* Formation Process: The outer planets formed in the colder, outer regions of the protoplanetary disk, where the gas and dust were colder and less dense. This allowed for the accretion of large amounts of hydrogen and helium gas.
In summary: The combination of low temperatures, weaker gravity, and the conditions in the outer solar system during formation allowed the outer planets to retain their gaseous composition.
It's worth noting that while they are primarily composed of gas, the outer planets likely have solid cores beneath their thick atmospheres. These cores may be composed of heavier elements like rock and ice.