But is it real empathy? Did they actually pause and feel bad and convert their emotional response to some written message?
Or did they just short circuit. "Dead relative -> Say sorry for your loss". Like an AI bot.
It's the second one.
One of my younger brothers died a few weeks ago (he was 67; I'm 75). When people offer sympathy, I accept it and don't question their motives or involvement.
https://www.softwarepreservation.org/projects/BCPL/