Sadly, there are lots of people in certain places who conduct themselves according to formulae which they think will make them appear interested, sympathetic, friendly, nice, etc., etc. As a result they say and do things according to the formula supposedly applicable to the circumstances facing them and once they have done that they have (mentally) ticked the box, job done, "duty" performed - on to the next task. I regard it as behaviour inviting insult, but mostly I just feel pity for such foolishness.