This is primarily because of personalization of the victim. When we personalize the person, we are more likely to identify with them, what happened to them, and this affects us personally and we experience more sadness that we would feel if we did not know much about the deceased person.
I hope my answer can help