It's hard to explain, like they know it's a bad word in English, but Japan has very few words that are considered bad words, so, they can get away with saying it unless there's a native English speaker around.
Like, you'll see it in anime and there's even kaomoji for it.