Why does the thing get hotter in the last PRS question?
A more massive object has more weight to hold up. Stars exist in an equilibrium in which the thermal pressure from fusion balances the gravitational force. A larger mass must be balanced by higher thermal pressure, so the rate of fusion must be higher and the star will be hotter and more luminous.