in Cognitive Biases

Just-world phenomenon - the tendency to rationalize an inexplicable injustice by searching for things that the victim might have done to deserve it.