Variable star
The supernova explosion is caused by a white dwarf or a star core reaching a certain mass/density limit, the Chandrasekhar limit. Then the star collapses in a fraction of a second. This collapse "bounces" and causes the star to explode and emit an enormous amount of energy.