Some people crave attention. If you respond to their untoward remarks, it just encourages them. I find that if I ignore people who are rude or obscene, they get tired of talking to themselves and stop a lot sooner than if I object or try to correct their behavior.
Dan