A car can hydroplane, essentially glide on water
car starts but shut off while driving
no
If fuel cannot get through the fuel filter, it will stop running.
Possible a bad or corroded ground cable .
You are. Don't drive through a flood. A car engine was not intended to be submerged in water, particularly dirty flood water.
Sometimes a car stalls when driving though water because water got sucked up into the engine. This can cause a lot of damage, so don't attempt to restart the car after it stalls. Have the car towed so the engine can be stripped down and drained of the water.
can be forced into the engine's intake system, causing hydrolock, which can lead to serious engine damage. It is best to avoid driving through standing water if possible, and if unavoidable, to proceed through slowly and with caution. If your car stalls in standing water, do not attempt to restart it and seek professional assistance.
A lot of possible causes, I recommend a careful investigation.
yep... especially if the alternator is bad too
fuel pump
You blew your engine or head gaskets.