I have disagree with you. There were multi-levels of the causes of prices to rise in various sectors.
What wasn't a cause was promoting electric driving vehicles. I am not sure what you mean he shut down domestic energy production. That is just not true.
And believe me, I am no one to really speak of this with any expertise. But I do realize there are so many causes to rising prices. this subject his so complicated that expert economists can't tell you an answer with 100% accuracy. But here are some big factors that I see.
1. The money that was pumped around not only the US (Trump and Biden) but the world due to CoVid was a big inflationary factor as cited by Robot and Ed.
2. CoVid also had a huge effect on oil prices. Trump made a deal with OPEC + to dramatically reduce production of oil because oil prices were collapsing due to drastically reduced demand and could collapse the US oil market.
https://www.eia.gov/todayinenergy/detail.php?id=45236
3. Due to Number 2 once the demand rose back to normal levels, OPEC + did not raise productions. Thus, rising demand and lower production caused rising gas prices. This is perhaps the biggest factor of gas price increase.
4. Oil production has taken a longer time to ramp back up in the US as well. Complicated issues but Forbes does a good job here trying to point out issues.
https://www.forbes.com/sites/rrapie...lding-back-us-oil-production/?sh=5523f2416b6f
5. Oil Production in the US in 2022 was the second highest in history besides 2019.
https://www.forbes.com/sites/rrapie...lding-back-us-oil-production/?sh=5523f2416b6f
6. Oil Production in 2023 outlook may be a record.
https://www.bloomberg.com/news/articles/2022-08-09/oil-production-growth-to-slow-in-us-next-year-as-inflation-bites?leadSource=uverify wall
6. Ukraine War effected gas prices due to the cutoff of Russain oil globally. But this war probably had a far more impact on food prices, especially globally.
7. Drought was a huge problem raising food prices in this country and globally.
This is just some factors and there are others.