On the resonant nature of the breakdown of a laminar boundary layer