People choose to be cops. People don't choose to be black. Cops choose to shoot people for being black.
Some cops may join for good reasons, but the institution as a whole is so corrupt and full of "one bad apple"s, coupled with them necessarily dealing with the worst in society and also non-cops that they soon fall prey to the environment and become awful themselves.