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