I know how...science
The atmospheric pressure in the nether is the same as the overworld, so technically, there should be very little amounts of steam from the red fungus and warped fungus jungles
Then they just collect the water in cauldrons and put in bottles
Then again, this is a theory