Here's why:
* Gas giants: Jupiter and Saturn are primarily composed of hydrogen and helium gas, with small rocky cores.
* Ice giants: Uranus and Neptune are also primarily composed of gas, but with a higher proportion of ices like water, methane, and ammonia.
These planets have extremely dense atmospheres that gradually transition into their interiors. There's no clear distinction between atmosphere and surface like we see on Earth.