When you put a cold drink into a warm cup and then place it in the freezer, several things can happen:
Rapid cooling: The warm cup absorbs heat from the cold drink, causing the drink's temperature to decrease quickly. The heat transfer occurs due to the temperature difference between the warm cup and the cold drink.
Condensation: As the cold drink cools down, the surrounding air in the freezer may contain moisture. The rapid cooling of the cup can cause condensation to form on its surface. This is similar to the water droplets that form on the outside of a cold glass in a humid environment.
Temperature equilibrium: Over time, the cold drink and the cup will reach a temperature equilibrium with the freezer's environment. The drink will continue to cool until it reaches the temperature of the freezer, while the cup will also cool down but at a slower rate since it has more mass. Eventually, both the drink and the cup will become very cold.
It's important to note that extreme temperature changes can potentially cause the cup to crack or shatter, especially if it's made of a fragile material like glass. Rapid cooling can create thermal stress within the cup, and if the cup is unable to withstand it, it may break.
To avoid potential damage to the cup or the freezer, it's generally recommended to use appropriate containers that are designed for freezing or to allow the drink to cool down to room temperature before placing it in the freezer.