How is it hard to compare rioting with peaceful protests? In shouldn't be, but in the Floyd case, 90%+ of the protests were judged to be peaceful. Yet, many on the right claimed that violence was a common feature.
And, after the Good shooting, members of the administration - from Trump on down the line - have called her a terrorist and claimed she tried to run the ICE member down, while she was only trying to drive away. So, if or how violent a person is can be in the eye of the beholder. Of course, they may be well aware that they are making BS statements, but have an agenda to push.
To be clear, in the North American context, at least, I don't think violent protests, rioting and looting can be justified and are unhelpful. For now, anyway.* Sometimes, a protest can be mainly peaceful, except for isolated instances of violence. Does that mean the entire protest should be condemned as being violent?
Iranian protesters have been rioting and burning cars in the streets. Are they in the wrong or is it justifiable?
*If authoritarian repression ramps up, that could change.