The answer is that it has a hotter interior under more pressure.
Not only because of its overall immense mass, but also because of its consistent internal pressure, the heat on the inside of the star is much hotter than that of a star with less mass.