That's adorable....it's like you don't know how anything works....
Gas prices are going up because of inflation, and the fact that we're begging the middle east for oil because Biden shut down domestic production. Then he pulled out of Afghanistan without thinking it through and (possibly intentionally) set the middle east on fire. That's going to impact the cost of oil and trickle down to fuel prices. When gas prices go up, the cost of everything goes up - food, electricity, and just about everything else you might ever want to buy.
When prices go up, people have less money - and guess which costs more, a gasoline powered car, or an electric? When people have less money, they aren't going to be buying more expensive things.