You are right. The earth creates hydrocarbon fuel.
From what I have read, it happens as follows:
1) In the range of approximately 60 kilometers below the surface (obviously under tremendous pressure)
2) Mix calcium carbonate (chalk) with ferrous oxide (rust) and dihydrogen monoxide (water) [all occur naturally and in abundance]
3) Out pops hydrocarbons which make their way to the surface
We are never going to run out of hydrocarbon based fuel.
Yea, but Sheldon on the “Big Bang Theory” says that Geology is not a real science. So there.