Hydrostatic equilibrium occurs when compression due to gravity is balanced by a pressure gradient which creates a pressure gradient force in the opposite direction .

Hydrostatic equilibrium happens when the pull of gravity is balanced by a pressure gradient which creates a pressure gradient force in the other direction .
