Tea gets cool beacuse of heat tranfer through convenction
Heat transfers from a area of hot region to cold.
The tea is hot in this case, due to taht factor the heat will move towards teh cooler region which is coke and will make the coke warm
Hope this helped!