Why does the formation of an iron core stop energy generation in massive stars?

Answer

Fusing iron consumes energy rather than releasing it

Iron acts as a thermodynamic barrier because fusing iron into heavier elements requires an input of energy, thereby halting the outward pressure that supports the star against gravity.

Why does the formation of an iron core stop energy generation in massive stars?
starsstellar evolutionElementsnucleosynthesis