This isn't some mystery, it's the same way boats and planes work. Consider a plane flying at 100 knots of airspeed. If the mass of air they're in is moving perpendicular to the plane at 50 knots, the plane will track diagonally across the ground even though it's pointed forward. The plane won't experience side loads because it's tracking 50 units sideways (with respect to the ground) for every 100 units it moves forwards, the exact same as the "wind". If the plane is instead in a 100 knot headwind, it will be stationary with respect to the ground. It won't drop out of the air, but it also won't make headway to its destination either.
From a mechanics perspective, neither the plane nor the bird care about what the ground is doing once they're airborne. The only thing they care about is the mass of air they're aloft in.
No different than a jet flying with or against the jet stream.
https://science.howstuffworks.com/transport/flight/modern/ai...
Some enthusiasts use this to make RC gliders go really fast, and the record is over 500 mph.