When two objects of different temperatures are in contact with each other will transmit heat from hot to cold until thermal equilibrium is established.
When two objects have different temperature in contact with each heat will transfer from the hot object to the cold object until thermal equilibrium is established.