Question: what does ammonia do to pool water?
Answer: Somewhere in the process ammonia releases nitrogen, which converts to nitrite, which then converts to nitrate. This explains why nitrates increase in pools after heavy rains. High nitrates will increase the consumption of free available chlorine and cause excess algae growth.