What you are missing is that a market order is sent to a particular exchange. That exchange has an obligation to try and fill you at the NBBO but only for the displayed size. For example, let’s say you send Buy 1000 APPL market to Nasdaq. There’s 100 shares of Best Offer displayed at NYSE...