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

Dispositional theory

Attribution theory

Attributing causality

Situational theory