Impure water does not have nearly as much resistance as pure water.
I have never known anyone to fill up a bath tub with distilled water...most people use tap water. Tap water has certain ions dissolved in it, some are put there intentionally by the city (F- for example), and others get there unintentionally (Ca + 2 for example). These ions allow for the conduction of an electric current.
The ion concentration of tap water is not very high, it still has a significant electrical resistance, but never the less, when applying high voltages to the water, such as those you might find in an electrical appliance, a current will conduct.
V = RI
Current kills….and it does not take all that much current to kill you if it passes through the right part of your body.