He was overpaid in his initial contract based on projection (if you doubt this, go lookup his stats and injuries prior to signing that deal), they then addressed that contract when he actually played well, gave him yet another adjustment, all while his play was declining. I really wish they had traded him when he first started complaining, we could have gotten at first and probably more, and not dealt with the cap situation getting rid of him now will bring.
To address the people upset that people aren't happy with him: I've been saying he should be traded for 3+ years now.