Statements like that shouldn’t be made. They are totally unhelpful and hurtful to people. It shouldn’t have been said.
Sometimes when people say things like that they don’t realize the impact. Lots of people are affected, the people at the center of the remarks, their family, their friends.
Comments like that are personal and very painful.
Yes, even more painful than calling pigeons “flying rats”.