I'm just spitballing here, but there is always a degree of victim selection here.
May depend on the
kind of insanity involved.
Some few years back I read an Intarweb essay on violent criminals.
It partitioned them into two broad groups with different goals and behaviors.
One group is just out to eat you:
steal your stuff so they can have it,
and don't care what violence happens in the process.
The other group has drawn a mental dotted line around
something,
and is protecting the integrity and honor of that turf
with whatever violence they think is merited.
That
thing doesn't
have to be a neighborhood, or a possession.
It could be a woman, or their image of someone, etc.
Individuals in a mob; well, I guess the mob removes some of their inhibitions.
But they may not all be in the same one of those two partitions.
I guess the looters are looking to eat the contents of a store or house,
and don't care what gets destroyed in the process.
But I guess the political rioters (especially "outside agitators"?) are
defending some abstraction like racial rights.
I don't
recall that the article ended up recommending how to defend against
or deter one kind or the other kind. But if you went for the premise,
it might supply a tool to understand what you're seeing, or how to avoid it.
Walking past one kind of thug on a subway platform
might get you kicked to the tracks because your presence or behavior
was somehow a form of disrespect.
Walking past the other kind might get you mugged.
Back to what you were musing: You've probably seen advice about how
an aspect of not getting mugged is to shift the cost/benefit ratio
so that the mugger decides to wait for better odds.
Some of that advice might not help
when one has crossed paths with someone defending "turf".
Maybe some other advice
is applicable...
All the above may not be directly constructive.
In which case, I'm jus' sayin'...