I think the reason that swearing is both so offensive and so attractive is that it is a way to push people's emotional buttons, and especially their negative emotional buttons. Because words soak up emotional connotations and are processed involuntarily by the listener, you can't will yourself not to treat the word in terms of what it means.
Steven Pinker