Because Helium fusion in a shell outside the core generates enough thermal pressure to push the upper layers outward.
5.8m questions
7.5m answers