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