Here's why:
* Massive Stars: These stars have a much higher mass than our Sun (at least 8 times the mass of the Sun). Due to their immense gravity, they burn through their fuel much faster and hotter.
* Core Collapse: When a massive star runs out of fuel, its core collapses rapidly, creating a shockwave that blasts the star's outer layers into space. This is a supernova explosion.
While smaller stars, like our Sun, will eventually become white dwarfs, they lack the mass and internal pressure to trigger a supernova. They experience a different kind of end-of-life event known as a planetary nebula.