Playing devil's advocate, but maybe the death was recent and they were in the state where the shock of that loss overshadows everything else, and they weren't deliberately ignoring you?
Re those people who are self absorbed, I have a 'friend' who is so self absorbed and thoroughly enjoys being miserable, that other mutual friends have cut ties with her altogether, and I've avoided much contact lately. I use the tactic when she is droning on about the same age-old complaining, of launching into babbling about my events, family, the weather (anything to break the monologue!). It works for a while, earning me dirty looks, until she steers the conversation back to airing her grievances.