A tight lid glass jar has several lumps of ice, after some time water droplets form. Where did it come from?

A teacher has a glass jar with a tight fitting lid. She unscrews the lid, puts serveral lumps of ice into the jar and then seals the lid tightly. After a short time, water droplets form on the outside of the jar. She asks the class to explain how the water comes to be there. Several pupils say that it comes from the ice.