If I may pick a few bits out of the above post..... (oops - above post but one, TM beat me to it.)
Your premise is that.... "One theory suggested that about 360 million years ago, some plants evolved the ability to produce lignin, a complex polymer that made their cellulose stems much harder and more woody. The ability to produce lignin led to the evolution of the first trees. But bacteria and fungi did not immediately evolve the ability to decompose lignin,...."
But your own article then goes on to refute the above premise.... "However, a 2016 study largely refuted this idea, finding extensive evidence of lignin degradation during the Carboniferous, and that shifts in lignin abundance had no impact on coal formation."
Edit as explained.