Water is not suitable for oil and petrol fires because water is heavier than oil and petrol. When water is poured on burning oil, it sinks below the oil surface due to higher density. The oil, being lighter, continues to float on top and keeps burning. Moreover, the water can boil and create steam explosions, spreading the burning oil further. This is why foam or CO2 extinguishers are used instead.