its an odd thing, and probably at least a little weighted by stereotype.
typically people that are unintelligent are thought to curse a lot, and there are those that do, and it speaks to their limited vocabulary. but also if your life is crap you're most likely gonna be more angry than the average person.
For me cursing is cathartic, there's even research that says cursing can actually ease pain, plus it doesn't hurt I think its dumb people attach so much meaning and offense to curse words. lol
You ever curse and watch a whole room get silent lol.
By this point cursing is like saying "stuff" or "thing" to me. But I stay conscious of it, and make sure I'm able to switch when I need to.
Both because I'm aware of the perception, and because its an unconscious behavior, and like any other if you don't intentionally interrupt it,
it'll run away from you.
Like if I constantly swore instead of trying to think of the word I'm missing, I won't be able to think of it when it matters, and I'd become more likely to slip up, because I'd not be in the habit of actually minding my words.
So it's a matter of use it or lose it.