A Causal Approach To Transitivity