A flood of energy is produced by the hydrogen-fusion shell pushing toward the surface when the stellar core becomes almost pure
helium
It heats the outer-layer of the star-force them dramatically