Bayesian Learning of Causal Relationships for System Reliability