* Mass and Fusion: Stars generate energy through nuclear fusion in their cores. The heavier the star, the stronger its gravity, which compresses the core to higher temperatures and densities. This leads to faster and more intense fusion reactions.
* Fuel Consumption: Massive stars burn through their hydrogen fuel much faster due to the increased fusion rate. They have a shorter lifespan, even though they are initially hotter.
* Temperature and Lifespan: While a star's temperature is a result of its fusion processes, it's not the direct driver of its lifespan. A hotter star, because of its larger mass, simply burns its fuel at a faster rate.
In summary: A star's mass is the dominant factor determining its lifespan. A heavier star, with its higher temperature and faster fusion, will have a shorter lifespan.