FWIW, I believe petroleum is a synonym for crude oil. If you put it in your cars fuel tank, you'll have a bad time. Gasoline is made from petrolium.
Gasoline is from gas + plus the chemical suffix "ol" short for the latin "oleum", and "ine" meaning "made of".
the confusion is solely in your reading comprehension skills and not in the GP's use of the words