Water evaporates out of the ground and the plants before rising into the air.
A closed terrarium is mostly self-sustaining. The closed top creates a mini-ecosystem inside the jar, with its own water cycle. Water evaporates out of the ground and the plants before rising into the air. It then condenses on the sides of the jar and drips down into the soil, hydrating the plants inside.