As a casual outside observer, it feels like a lot of people are throwing the blame in one direction or another, but while crime may be bad in SF, the level of crime in general is bad in most metro areas in the United States when compared to other developed nations. So there are probably bigger, more fundamental issues at play. SF itself is interesting in that they are so wealthy, and so much power is centralized there, yet it feels like their policy is either ineffective or makes things worse. Like how can a city so rich have things like a feces problem so bad that people make poop maps to track it, and rows of people abusing drugs in bart stations during the day?
It isn't just crime, it seems like there is so much "societal debt," issues that needed to be addressed but were instead kicked down the road. Policy makers are either paralyzed/ gridlocked and cannot even attempt to fix things because they are already in over their head with all the accumulated problems that appear to be festering and getting worse, or they have been captured by powerful interest groups that prescribe selfish policies at the expense of the public. This leads to whatever actual policy happening being something that is akin to releasing a bunch of coyotes to solve the rabbit problem, only then to be left with a coyote problem, escalating up the chain of trying to solve smaller problems while simultaneously introducing larger ones.
The crime, working and middle class insecurity, homelessness, issues with law enforcement, overwhelmed judiciary, captured/ gridlocked legislature, drug abuse, the crisis in mental health, race and demographic changes and whatever else. All of things are big issues, and the United States is dealing with them all at once, causing all of them to cascade into each other and exacerbate everything. It is probably so overwhelming that it is extremely difficult to address in a system that requires elect-ability in the short term. It is probably really hard to get elected on a platform of completing step 1 of a 50 step platform that would take years more than you have to implement. On top of it all, these things can hardly be discussed in when everything is so polarized, everyone is too busy preaching to their base and blaming the other, and they are all pretty much is in a continuous state of whiplash from the spin of news media working in overdrive, who are themselves also fighting for their own existence too. For most people, things probably feel like they have been falling apart for years, decades even, while the well off have hardly noticed a difference at all. I don't even know how you would begin to dissect this situation.