Being at AIPAC, at all, says to me that he’s not exactly a liberal.
Perhaps he knew he was on his way out, and decided to pull this stunt?
It's been done before, although not as nuanced. That is, it can be labelled as political speech, not as a fraudulent, self-inflicted, "hate" crime.