antonvs parent
There are multiple factors. The biggest ones are reflected sunlight; infrared and thermal conduction from surrounding rocks; and the Moon's internal heat (the region between the core and the mantle has a temperature of over 1,300 C).