What determines an objects thermal energy
The motion of its particles determines an objects thermal energy.