It's not a cause and effect situation, because you can't have one without the other. A pressure differential can only exist if the flow is altered somehow, because a pressure differential means that the air molecules are subject to a net force which accelerates them. This is really just Bernoulli's theorem, which is Newton's second law. However, it doesn't tell you anything about why the flow around a wing arranges itself into such a configuration.