So the bottom line is, when air cools it can hold less water. Your glass of iced tea cools the air around it, the air can no longer hold all of the water that is in it and the water condenses onto the surface of the glass. You would find that there would be more condensation in more humid weather.