Why does your Hyundai xg300 stall when you drive through water?

It could be that your ignition wires are getting wet and grounding out. You might want to replace the spark plug wires and coil wire.