I’m really glad you asked that! The reason we have coal and oil today is that earlier in Earth’s history microorganisms lacked the enzyme to metabolize cellulose (the most abundant bioorganic material). So until then, it was buried and accumulated as fossil fuels.
Today’s ecosystem can metabolize cellulose, so no more fossil fuel production. Quite literally an unsustainable fuel!