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

Situational theory

Attributing causality

Attribution theory

Dispositional theory