I saw a paper once that your risk of getting shot is inversely proportional to the severity of the situation up to a point.
Adjusted for frequency you are more likely to get shot during a traffic stop than a armed suspect call because they arrive expecting an armed suspect and act accordingly, every traffic stop could turn into a shootout even if it isnt likely to so they tend to overreact.