Why does Shopify charge a 2% transaction fee for third-party providers?

When I queried this with Shopify support the response was that they “use the funds for maintenance of the said gateway to ensure successful transaction for orders made on your site”, which just doesn’t make sense at all.