When two substances with different temperatures come into contact, the correct response is:
Thermal energy is transferred from the warmer substance to the cooler substance.
This transfer continues until thermal equilibrium is reached, meaning both substances will eventually reach the same temperature.