I’ve never seen a log start foaming before. My only theory is maybe there was some kind of fungi or lichen on the log that made it react to the heat that way. The only part I saw foaming was the tip end of the log, not the side of the log where lichen or some other kind of fungi is usually visible. The end of the log looked perfectly normal (no fungi or niches) aside from the foaming.
Thanks in advance for your theories!
There was probably some moisture in the log. When you through the log in the fire, the water boiled, coming out one end creating a foaming effect
Moisture.
Sap (not you, in the log).