Water will not mix with gas, it will settle in the bottom of the tank. One way it enters is through condensation, especially with above ground tanks, they are more prone to temperature fluctuations than underground tanks. However, underground tanks can get water in them if they are leaking. New tanks must have leak detection systems built into the tank, at least, by the new EPA regulations, but getting that rule enforced has been a problem. That is why you don't see as many mom/pop gas stations anymore, it's just too dang expensive to keep up with the new regulations.
However, depending on when a tank was filled, there could be water floating around in the fuel. Tanks now have submerged filling, which means filled from the bulk delivery from the bottom up. If there was water in the tank itself, and depending on when you filled up, water could be floating around while on its' way to the bottom and you could pick up some that way. It would be a miniscule amount, but over time it could build up. Lawn mowers are notorious for this. That's way on the top end models, the gas bowl in the carb. will have a drain valve.