Step-by-step explanation
The Iron is incontact with the shirt. So, heat is transferred from the iron to the shirt because they are in contact.
Before the contact, there is temperature difference between the shirt and the iron. When they come into contact there must be exchange of heat energy, this happens until equilibrium state is reach.