Heat transfer

A situation from everyday life: A cube of ice is put into a cup of hot tea. Which of the following statements is correct?

The tea gives some of its heat to the ice cube, which therefore melts.

The cube of ice gives some of its cooling energy to the tea which therefore cools down.