This is really simple to do. Kids get a kick out of it. It’s something that you can do any day without a lot of prep before hand as long as you have ice cubes in the freezer.
The cold plate causes the moisture in the warm air, which is inside the jar to condense and form water droplets. This is the same thing that happens in the atmosphere.