The warm air over the hot water is nearly saturated with water vapor. This warm air is cooled by mixing it with the cold carbon dioxide gas that sublimes from dry ice. Initially the hot water heats the air above it making it less dense and causing the fog to rise.