Being polite to rude people is a good way for them to try to take advantage of you. At the very least, if you don't enjoy being rude, it's best to ignore them.
In the case of the article, HR messed up by being rude to someone who was polite, and so, got the well deserved cold shoulder.