Most of the fossil fuels we burn today date back to the Paleozoic Era, which predates the dinosaurs. Further, you now know that most of these oils came from ocean deposits.
This suggests dinosaurs had little or nothing to do with the development of fossil fuels. Dinosaurs lived on dry land.
https://jurassicparkterror.com/are-plastic-dinosaurs-made-from-real-ones/