NASA has a good explanation here [1]. Here's a brief summary.
The gas flow has to simultaneously conserve mass, momentum, and energy.
If you analyze lift by considering conservation of momentum you get that there are velocity differences in the flow at different parts of the wing. Integrate those around the whole wing and you find a net turn of the flow downward. Conservation of momentum (Newton's 3rd) requires an opposite upward force on the wing.
If you analyze lift by considering conservation of energy you also get velocity differences which lead to pressure differences. Integrate pressure over the whole wing and you get a net upward force on the wing.
[1] https://www1.grc.nasa.gov/beginners-guide-to-aeronautics/ber...