There are three primary ways to control the pitch (frequency) of a flute:
The longer the flute (or the more holes covered), the lower the pitch. A longer air column vibrates more slowly, producing lower frequencies.
A wider bore lowers the pitch because more air mass vibrates more slowly. This is a design factor, not typically adjustable while playing.
Tightening the lip aperture (embouchure) increases air speed, raising the pitch. Loosening it lowers the pitch. This is the player's primary real-time control.