This^^^
When you are just putting water into bottles, they add ozone to the water to kill any bugs. The ozone breaks down into oxygen and since the bottle is sealed. No new bugs can get into the bottle.
But running a water distribution network. In reality contamination can and does happen. Most common will be when sections are turned off for repairs. Small leaks will allow ground water to enter pipes. Also water often backflows from customer pipework and hot water cylinders. So if the neighbour has turned down their cylinder temp to perfect legonella breeding temp. They may end up spreading it to the council mains if the mains get turned off.
And due to pipes being large diameters to get enough flow for fire hydrants. Sediment will build up on bottom of pipes, as normal water velocity will be very low. The sediment will be a perfect breeding ground for bacteria if no chlorine used.