What will happen when a cold material interacts with a hot material?

The heat will transfer from the hot material to the cold material. Heat tends to go where it is not.