In few cases when you question whether someone deserves something, if you consider all of the contributing factors to them doing what they did to put whether they deserved it in question, does the blame rest entirely on them. So, I think people generally mean when they say someone deserved it, they look at only the most obvious and direct reasons. (Which I support entirely in non serious issues, it isn't as much fun when you're totally fair.)