The Principles Behind Causality Inference