As the star grows, so does its internal pressure and temperature until the star lights up in a thermo-nuclear reaction.