A colleague arrives late. “They do not care” is one interpretation; it is not the observation itself. You may be missing information about transport, unclear timing, conflicting instructions or the person’s choices.
The fundamental attribution error describes overemphasising personal characteristics while underweighting situational constraints in explaining behaviour. The tendency varies with context; it is not a rule that all character judgements are wrong or that circumstances excuse every action.