As I inferred above, she wasn't being deliberately RUDE and insensitive…. but, she should have thought before she spoke.
Please don't ever make the same mistake by comparing the loss of a significant other to that of losing the family dog (and, yes, we have a dog that we adore, but….seriously….).
It's a good reminder to think before we speak.