I have a related issue with my address book and calendar. I have always been diligent about putting birthdates in my address book. iOS/macOS does the right thing and shows me the birthday on the calendar. Every day, one of my favorite activities is to look at my calendar and think about birthdays for the day or the coming days and send greetings.
I am 50. I have experienced a normal, I think, number of deaths among friends and family. At least once a month I will be reminded of a birthday for someone who has passed away. I am not always happy to be reminded at that moment. I don't think there is a straightforward way for me to tell the address book that this person is no longer alive. I also don't want to remove that data from the person's entry.
As we get more of these digital agents in our lives, they will have to be designed with a little more thoughtfulness.