Why would engine that was idling then suddenly die?

water in the fuel can cause an idling motor to sputter and/or die.