The difference between the electric/gas price comparison depending on where you live is pretty wild. Here in Finland it’s completely the other way around - charging at home is about 1/10 the price of gasoline, assuming a relatively efficient gasoline vehicle. That’s just the cost of energy of course, EVs are expensive to purchase.
US gas prices are heavily subsidised by military interventions throughout the Middle East, and don’t factor in any externalities. On the other hand electric is massively abstractive and cheap electricity has major political blocks. Regulations and other punitive measures means US Solar panels cost twice that of Europe.
TBF it's much cheaper pretty much anywhere that isn't california. Their electric grid has been about as mismanaged as I think it's possible to be while remaining a highly developed country. But one example: https://en.wikipedia.org/wiki/Camp_Fire_(2018)#Infrastructur...
In Canada, the Clean Fuel Regulations allow EV charging to generate carbon credits. Those credits can get shared, reducing the net cost of charging. I get a 16c/kWh rebate, and pay 20c/kWh to the utility. In Quebec, residential electricity rates are about 10c/kWh, which can make charging a revenue source.
https://solarsi.ca/credit-prices.html