Police work for the State. The State orders them to work for the Public when it interests the State. Intervening in violent crime and property crime can be seen, cynically, as a PR move.
To be beholden to the State for justice and protection is fine when the State is beholden to the Public for their consent. Today, in the West, the Public has been so thoroughly disarmed, and /disrobed/, that consent is a formality, consent can no longer be withheld.
Look no further than Flock and FISA for the ongoing crisis of consent.
When cops are released from the State apparatus, they'll be given the respect and admiration they deserve. Until then, it's difficult to separate them from their incentive structure.