Cops get killed all the time. It's what you might call an occupational hazard. Plus, I have no clue how many law enforcement officers we have throughout the country but I imagine three of them is a pretty small percentage.
Don't get me wrong, it's a tragedy and my heart goes out to their families and friends. But it's a risk they knew about and accepted going into the job.