Hanging Barrack Obama

Can someone please explain to me why it is "Art" when one hangs Sarah Palin in effigy but it is a hate crime when the same thing is done with Barrack Obama's likeness?There was a likeness of Barrack Obama hanging from a tree on the University of Kentucky campus. Police immediately took it down and the university president Lee Todd promised to personally apologize to