Racist and sexist verbal attacks ('remarks' is too mild) never make sense.
Over time, people who judge others by their origin or chromosomes are always proved wrong, always shown to be afraid, not wise.
The fear that provokes these attacks takes many forms, it doesn't discriminate based on the bigot's age or income or even race or gender. But the fear is real, and when the fear pushes people to demean others, it's revealing itself.
Even though the fear is real, it's not an excuse. When we speak with respect and offer dignity and empathy, we're describing our future. 'Politically correct' is a cheap way of dismissing maturity, confidence and kindness. Calling angry words a joke, or a momentary slip can't hide them.
History shows us that attacking those that would bring hard work, generosity and insight to our lives is always a mistake.