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

Attribution theory

Attributing causality

Dispositional theory

Situational theory