Because it gives lawyers a stronger incentive to escalate conflicts, instead of deescalating them, which is not in the interest of society. Lawyering up is a zero-sum game, so the economy is better off if the money in question stays in a productive sector.
Take a divorce, for example. Do you prefer lawyers to have an incentive to say "calm down, I'll talk to the other lawyer, and we will find a fair deal" or "give me 20% and I'll make that bitch suffer"?
Note that a poor client who cannot pay upfront can still agree to pay after they win, just not a percentage of the awarded sum.