Is Jupiter made entirely out of gas?
It doesn't matter if the body is made of gas, rocks, liquid or plasma, the four states of matter all have mass. So, as we know, mass create a gravitational field, and the more mass the stronger the gravity - and Jupiter has 317x Earth mass.