In aviation, turbulence refers to bad weather that affects how smooth a flight feels. The part that says "the passengers went flying" can mean that the passengers hurled through the air out of control, but it can also mean that they were simply flying as planned, without chaos. This joke is playing on the phrase "the passengers went flying" because it can be interpreted in two different ways.
When the plane hit turbulence , the passengers went flying .