The reason credit card fraud for charges costs money to processors is because of charge backs. I believe charge back fees originate from the card networks themselves (Visa, MasterCard, etc). These processors also enforce a variety of limits when it comes to chargebacks for each merchant. This means if you're the layer between the merchant and the network, the merchants generally will rely on you to pre-emptively detect fraud. Those systems all cost money too.
As far as I know when it comes to payout rails such as ACH, real time payments (RTP), Zelle, I don't believe the payment processor holds any liability for fraudulent transactions. In other words, if a fraudulent payout occurs through stripe via RTP then The Clearing House banks aren't going to come after stripe for the money. They'll tell the end user "whoops, should've taken better care of your digital info. Bye!"
source: Worked at a payment processor and worked on payout rails and integrating with banks. Also do work now as an end user of a different payment processor that does charging, payouts, etc.