Did oil really come from dinosaurs?

According to the report of Online Economy, quoted from Khabar Online; For some strange reason, the idea that oil is made from dinosaurs has stuck in the minds of many people. But oil comes from trillions of tiny algae and plankton.
As algae and plankton died tens to hundreds of millions of years ago, they sank to the bottom of the sea, where they accumulated and were buried by layers of sediment. Eventually, after millions of years in a high-pressure, low-oxygen environment, the algae and plankton “cooked” into that sticky black substance that we humans can’t seem to get rid of despite the threat of a climate emergency.
While dinosaurs or t-rexes may be found at the bottom of the ocean after they die, they are unlikely to turn into oil.
This is partly because an oxygen-free environment is required to convert organic matter into oil. After death, they became a meal for smaller aquatic creatures, and were torn apart until they were reduced to bones, just before they could be buried.