The player forms a precise embouchure (lip position) against the mouthpiece rim, creating a seal. Focused air is blown through the aperture between the lips.
The airstream causes the lips to vibrate rapidly against the mouthpiece rim. This acts as a vibrating valve, chopping the airflow into pulses.
These pulses excite the air column inside the trumpet. The column resonates at specific natural frequencies determined by the tubing length (including valves).
The vibrating air column travels to the bell, which acts as an acoustic transformer—impedance matching the internal resonance to the outside air, efficiently radiating sound waves.
In essence: Buzzing lips → Resonating air column → Bell radiation = Trumpet sound.