Never put water on an oil fire.
The reaction is so violent because water and oil don’t mix. When the water is poured into the pan of burning oil it sinks to the bottom and, due to the intense heat, vaporizes into steam almost instantaneously. With this phase change from a liquid to a gaseous state the water expands by up to 1700 times and forces the fire above it upwards. This oxygenates the oil and creates the huge flame you can see in the video.
Credit: Silverdale Brigade