This is an example of the "fundamental attribution error."
The fundamental attribution error is our inclination to clarify somebody's conduct in light of interior components, for example, identity or air, and to think little of the impact that outside elements, for example, situational impacts, have on someone else's conduct.