How does a main-sequence star maintain stability if the core momentarily cools?

Answer

Compression increases density/temperature, speeding up fusion

If the core cools slightly, gravity gains the upper hand, squeezing the core. This increases density and temperature, which speeds up the fusion rate, generating more heat and restoring the necessary outward pressure.

How does a main-sequence star maintain stability if the core momentarily cools?

#Videos

Why Don't Main Sequence Stars Explode Or Collapse? - YouTube

gravitystarpressurecollapse