Why do the Chargers save money by cutting Joey Bosa, but the Browns can’t save money by cutting Deshaun?

Everyone is talking about how the chargers will save $25 mil with his release freeing up some cap space. How can this be true, but the Browns are “stuck” with Deshaun in one of the worst contracts ever given? Why can’t they cut him to “free up cap space”?