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
Examples
She skipped the session, so she is unreliable. I barely considered the shutdown that stopped her bus.
He was silent during the vote, so I assumed he was timid even though the chair never gave him the floor.
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.