Those people (the ones inciting violence against against those in red hats) are equally reprehensible.
Not sure why one shitty act should be used to justify another.
It has a name, actually: "tu quoque" ("whataboutism"). It's a logical fallacy. Regardless of whether the original accuser is also guilty of the said offense has no bearing on the truth value of the original accusation.
It's a tactic perfected by communists...
"The association of whataboutism with the Soviet Union began during the Cold War. As the regimes of Josef Stalin and his successors were criticized by the West for human rights atrocities, the Soviet propaganda machine would be ready with a comeback alleging atrocities of equal reprehensibility for which the West was guilty."
Merriam-Webster