Visa and Mastercard take on quite a bit of risk by allowing payment transactions to companies who wade into murky businesses that while not illegal may have a lot of risk.
The amount of lawsuits that these processors get co-named in for providing payment rails is probably enormous and without laws protecting them I don't see how they don't have a choice in actively censoring.