A overheated pan got into flame. The cook covered it with the lid and it stopped. What causes the fire to stopped?