Why? OP's numbers are per capita.
My family and I moved from SF to Lafayette precisely for these reasons: we were subject to assaults and intimidation from strangers in the street in SF (police refused to follow up), our car and garage were broken into once a year on average (police did not report back for any of the 7 police reports we filed), the total losses exceeded $5000. Others have it worse; our doctor had her house burned down by a mentally ill arsonist.
In addition, we were not looking forward to raising our kids in the SF public school system and we don't have enough money to pay for private school, so we moved out. In Lafayette, I can let my kids walk to school without worrying about them getting mugged. (By the way, aside from the neighborhood, you may experience public safety very differently depending on your height, weight, sex, and race. The stats won't tell you any of that, nor the amount of under-reporting going on due to the loss of public trust in the police/DA to do their job.)
We know many other families who followed similar trajectories.