I’m guessing they felt the word could only be used in the context that the audience feels the character who used it is wrong for saying it. So a white character says it, the show is telling us “he is wrong for using that terrible word,” while a black character says it to a friend, you’re condoning its usage.