We show that a physical mechanism responsible for the enhanced transmission and reflection of ultrashort (few-cycle) pulses by a single subwavelength slit in a thick metallic film is the Fabry-Perot-like resonant excitation of stationary, quasistationary, and nonstationary waves inside the slit, which leads to the field enhancement inside and around the slit. The mechanism is universal for any pulse-scatter system, which supports the stationary resonances. We point out that there is a pulse duration limit below which the slit does not support the intraslit resonance.