Why Are So-Called Bad Words Actually Bad?

It might have little to do with the sound or force of the words: “Swearing is a form of dispreferred linguistic behaviour.”