There are two types of people who use swear words. The first type use swearing without thought. It's just how people speak where they came from, and it's no big deal.
The second type uses swearing to deliberately shock. To them, it is a form of emotional warfare. This tactic requires that swearing be unusual and taboo amongst the audience, and it is highly effective on people who have been indoctrinated by society into constantly policing their own thoughts.