Gas pumps are larger transactions, so the credit card fees are less of a hit for the business. A level 2 AC charger is about $1 per hour of electricity, so you're taking huge credit card fees for shorter charges.
Most of the apps have some sort of balance that lets you make one $10 transaction and then spend it on a lot of smaller charge sessions.