Cognitive bias

Fundamental attribution error

Explains another person’s behavior mainly through lasting traits while giving too little weight to the immediate pressures, constraints, or circumstances that could explain it.

Also called Correspondence bias

A worker standing by a crate that is tilted by a ramp

Examples

She skipped the session, so she is unreliable. I barely considered the shutdown that stopped her bus.
An immediate constraint offers a relevant alternative explanation.
He was silent during the vote, so I assumed he was timid even though the chair never gave him the floor.
An external restriction was overlooked in favor of a personal trait.

A similar case that can be sound

The observer checks whether the pattern persists across several settings with different pressures before drawing a conclusion about a trait.