e is related to the complex numbers through trigonometry. And pi is related to trigonometry more directly than that. But e and pi are not related to each other; "being related" isn't transitive like that.
Consider correlations. A correlation is necessarily "transitive" if the correlation values are very, very close to ±1, and not otherwise. If a correlates with b at 0.7, and b correlates with c at 0.68, the correlation between a and c might be 0.69, but only by coincidence.