A Unified Causal View of Instruction Tuning