oil is the basic material for production fuel or distribution fuel, if it is difficult to find, they buy it at a higher price, and this has an impact on the price of the product. for now it's really hard to suppress it because of this kind of situation. and the government can only try to suppress it, except maybe later if new alternative energy is found such as electric cars for example, it will certainly reduce the use of oil
Oil/gas will eventually go away as the main thing to spend. From simple small cars to a huge truck, everything will be based on electricity. However, we need to make sure that we create that energy in a clean way as well. If you burn coal and create energy and then use that for your Tesla, that’s not clean at all, this is not helpful to anyone, it is not better than oil/gas. If you do hydro, solar, wind and such then using that for your electric car could be something awesome for sure.
We are talking about something that is better for the distant future, because we could keep on investing renewable energy but electric cars all in itself by default is not a good thing if you produce bad energy from bad sources.