Months of lead have to be turned into something rivals can't catch
Back to that night-market stall. If you arrive only one month early, what you get for it is data on tastes and foot traffic, and a rival can copy all of it by watching for a week. What about six months early? Suppose you've signed an exclusive buying price with a sweet potato wholesaler, and your regulars' stamp cards are filling up. However long the rival watches, he can't copy these two things: his buying price is higher than yours, and the customers won't switch stalls.
The lessons latecomers skip can be cheap or expensive
The goods thrown away while trying things out, and the effort of teaching customers to recognize something new, are paid for by whoever arrives first. At a night market these lessons cost no more than a dozen or so sweet potatoes. In a business where demand is still unclear and equipment gets cheaper every year, the lessons are expensive, and what you save by arriving a year late can be more than the extra the early arrival earns.
What you can learn at a glance can't keep latecomers out
A latecomer can pick up a public menu, the prices and the signature recipes at a glance. A wholesaler's willingness to sell on credit, and the regulars' trust, have to be built up day by day. The late stall owner copied the menu and prices in the first week, and in the third month was still looking for a wholesaler who would give him credit.
The order of entry matters most in businesses where experience can only be built by doing, and where customers who are used to something can't be bothered to switch, such as accounting software for companies. On the other hand, where things are decided by admission scores or by lottery, the rules don't care who came first, and applying early or late makes no difference. Using "first-mover advantage" as a reason to spend heavily and roll out wide while demand is still unclear is a different mistake: the earlier and bigger you roll out, the more of the lessons you pay for on the latecomers' behalf.