how can a gas planet exist?
At larger masses, the planet's ocean boils and the atmosphere becomes a dense mixture of steam and hydrogen and helium. When a planet reaches a few times the mass of Earth, the atmosphere will grow rapidly, faster than the solid part of the planet, eventually forming a gas giant planet like Jupiter.