Imagine if the police showed up and started handing out water bottles, rather than assaulting unarmed (but angry) citizens. I think you'd see a different response.
Imagine if the police were trained to remain passive even when struck. A few violent protesters would strike the police, but if they remained passive I don't think it would take the sight of very many passive cops getting beaten up before the crowd would turn on the violent protesters and protect the cops. Seeing someone getting beaten without defending themselves triggers a very powerful gut reaction in people, even when the victim is 'the enemy'.