The situation makes sense from the pov of the banks. They get to charge you more and get that money instantly for the same transaction.
How it should be: most customers use cash, sometimes they use a card and the dispensary sends a small amount of money (at the end of the month) to the bank for being involved in the process.
How it is: everyone uses an ATM as individuals and get charged a huge non-negotiable fee for that and the banks make money the moment you withdrawal any.
Always look at who gains from a situation to understand the situation.