Thermal energy moves between objects through conduction. This is because, collisions made from the objects through the molecules.
Heat can also move in three different ways. Convection, conduction, and radiation.