Coal and oil come from carbon captured during the Carboniferous period, before the evolution of species of bacteria and fungi that could digest the lignin in plants.
Coal and oil formation is not being fed by plant life today. The carbon in plants is recycled rather quickly in to the ecosphere.