No matter “why” the police were arresting the guy...he taunted and resisted them.....and every person knows not to do that except for those who have no respect for authority. Obvious this guy didn’t....and usually those with a rap sheet like his don’t....that’s how they get a rap sheet to begin with...they break the law and resist arrest.
Or to put it another way, “Play stupid games, win stupid prizes.”