The theory of how people explain other's behaviour by attributing it either to internal disposition or to external situation refers to

Attributing causality

Attribution theory

Dispositional theory

Situational theory