When you blow across the embouchure hole, the air stream splits, creating pressure waves that travel down the tube. Closing holes effectively lengthens the air column, lowering the pitch; opening holes shortens it, raising the pitch. The vibrating air column inside the flute generates the sound waves we hear. The fundamental frequency depends on the column's effective length, diameter, and the player's air speed/embouchure.