Unless surface to capture rainfall is clean, it can be contaminated with animal droppings. Also if it's treated sewage, I'm not sure if it's treated enough against pathogens.
Contaminated crops usually uptake the pathogens from their water intake rather than from "dirty handling" and given it's within the produce itself, you cannot "wash it off". Cooking solves the issue, of course, but not all produce gets cooked.