The answer is vast amounts of plant life that existed before dinosaurs.
Fossil fuels refers to buried combustible geologic deposits of organic materials, formed from decayed plants and animals that have been converted to crude oil, coal, natural gas, or heavy oils by exposure to heat and pressure in the earth's crust over hundreds of millions of years.