When ice is added to the water, there will be an energy flux from the water to the ice.
When we have a system with two objects of different temperatures, to reach equilibrium, a flux of energy (heat flux) will go from the hotter object to the cooler one.
When we add ice to the warm water, the hotter object is the water and the cold one is the ice.
Then, energy flows from the water to the ice, in this way the temperature of the ice increases while the temperature of the water decreases.
Finally, both ice and water will have the same temperature (actually, probably the ice will melt into water).
If you want to learn more about heat flux, you can read:
https://brainly.com/question/26427548