Radiation pressure! There is so much heat (= photons) radiating outwards, that it counteracts the gravitational pull.
Only once you get to 10+ solar masses does radiation (light) pressure begin to become significant, and at 50+ solar masses is when it dominates and the atmosphere is held up by the momentum of light.