When the hydrogen in the core is exhausted, the star gets bigger and more luminous as hydrogen burns vigorously in a shell about the core. According to this kind of stellar model, here is where we are now. . The same sort of model can be applied to stars with masses that are smaller or larger than that of the Sun. The general picture is similar. Less massive stars spend more time in the starbirth process.
More massive stars spend less time in the starbirth process.
More massive stars are more luminous and have hotter surfaces. The amount of fuel available is roughly proportional to the mass of the star. The rate at which the fuel is being burned is proportional to the luminosity. Less massive stars have somewhat less fuel but are burning it much more slowly. Thus they longer lifetimes than the Sun.