The nation has repeatedly found itself mired in grief, outrage and confusion over the killings of civilians, many of them men of color, at the hands of police officers.