Why does a star evolve into a Red Giant after core hydrogen exhaustion?

Answer

The intense energy generation from shell burning creates immense outward pressure

The hydrogen shell burning is often more energetic than the previous core fusion, creating massive outward pressure that overwhelms gravity and forces the star's outer layers to expand physically.

Why does a star evolve into a Red Giant after core hydrogen exhaustion?
starstellar evolutionexpansionhydrogen fusionhelium fusion