Know what's wild? For millions of years nothing around ate trees, so when a tree grew and died and fell it was permanently there because there was no rot. Which is how we got petrified forests.
From my readings, I don't think this is the case. Lignin degradation evolved rapidly with terrestrial plants. Coal and petrified wood is more due to geological events and swamps for example. Evolving ligninases is trivial for bacteria and fungi.