Because water is a good conductor of electricity.
1 5 1
Water being a good conductor of electricity generates electricity when it comes in the contact of electricity. If fire is caused because of some electrical appliance and water is used in extinguishing it then it will definitely cause an electric shock to the person who is extinguishing it. This may lead to severe injuries and even death. This is the only reason why water is not used in the above situation.
2 5 2