I think this is an example of self-serving bias. This is the tendency of people to attribute positive outcomes to personal factors, but attribute negative outcomes to external factors such as other people. The reason people have this tendency because personalizing success or positive outcomes helps their self-esteem.