Here's why:
* Temperature is a measure of the average kinetic energy of the particles within an object. The hotter the object, the faster its particles are moving.
* Thermal energy is the total internal energy of an object due to the random motion of its particles. It's a measure of the total kinetic energy of all the particles within the object.
So, the higher the temperature of an object, the more thermal energy it possesses.