The fire makes the water boil, the water than cascades over the pot and extinguishes the fire.