There are many suit and claims against Paypal. Most of them are settled out of court. Many are exactly about account freezing. The fact that one went to court but was dismissed does not prove that Paypal does not engage in bad bahaviour.
It's not merely the cost of doing business, it's the cost of avoiding judgements against bad practices.
Do note that Paypal did lose some suits, notably in Quebec for example, where customers protection laws are stronger and arbitration clauses in user agreements cannot force you to forfeit rights you have under the law, in particular to sue.
https://lastattorney.com/paypal-class-action-lawsuit-settlem...