The perception shift is key. Getting fired for cause and trying to claim the moral high ground afterward often reads as sour grapes; Bitterness and/or incompetence being rationalized. Quitting, on the other hand, suggests principle and lends credibility.