The smell could also be from other things, like stuff that's fallen into the water, causing invisible chemical reactions and making the pool smell different.
It's entirely possible that there's also ammonia, which has a similar scent to pools and urine could be in the water