That's exactly what's happening. The media's politics for now are aligned with the anti police anti gun crowd so every incident is exploited with the media giving saturation microscopic coverage and commentary. Decades ago these stories would be the lead for a few a days then they would wind up in a magazine or syndicated tv news shows like Inside Edition etc. And a book about a year later.It's not the public at large that is demonizing and criminalizing police. It's more the media and special interest groups who're promoting the idea, often in the face of elected officials who're part of the group or too weak, timid or insecure to stand up for the police.
This was tragic but not surprising. The police are not setting out to shoot/kill as many as possible. The media and politicians make it seem that way but they are not. One statistic that might help is how many foot pursuits or car stops end without a shooting. People don't realize many of these situations happen everyday. Yes there are incompetent or sloppy police but there are also perps/suspects that push their luck too far. If not daring the police they are like a child seeing exactly how much they can get away with.