What happens when the foam cools ?
Because it is lighter than the burning liquid , it flows freely over the liquid surface and extinguishes the fire by a smothering ( removal / prevention of oxygen ) action .