I think the rationale is if the violence (real or perceived) comes into your own neighborhood/apartment/etc, that you’ll be able to defend yourself. Much better than helplessness.
If I have a family, and never owned a firearm, and now you see the state of affairs (again, in reality more at risk vs perceived more at risk is beside the point - user still takes action on their perception), I would feel compelled to defend my home and family. Regardless where one stands politically, we did have violence of some form break out in many cities in the US.
So buying a firearm and some ammo seems to me a reasonable step.
And yes, I agree in part on the self-fulfilling prophecy. People buy ammo, shortages occur despite supply chain getting better, prices go up, people buy more.