There are a number of moulds and other things that have spores in air always, which means they enter water anywhere, and multiply if conditions are right for them. That's how some algaes get in as well, and bacteria, viruses, etc. Water is not nearly as 'empty' as it looks.