If you are referring to stars, the answer would then be pressure from the nuclear reactions
The thermal pressure that pushes outward and against the pull of gravity in a star is caused by the nuclear reactions that is happening within the stars core. A lot of energy is released during these reactions which produce thermal pressure. The pressure then pushes outward.