The spectrum of motivations for the pressure we put on kids to not "swear" includes "being polite" and "being polite" is related to communication skill. There is a quote attributed to Mark Twain which equates politeness with something which prevents people at the dinner table from killing each other.