What is the energy transferred from a hotter object to a cooler one is called?

Thermal energy.