Could it be that swearing, like other antisocial acting-out, indicates the need for recognition or accomplishment that the individual feels (or knows) is otherwise missing?   On the other hand, sometimes there's no emphasis like a good swear word  - especially for an infrequent practitioner of the art.