That assumes they have perfect information which they don’t they can only estimate demand. It’s perfectly rational for a scalper to regularly purchase more tickets than they sell due to the kind of markup their looking for. At say 4x they could on average sell 1/2 the tickets while doubling their investment.
And of course that assumes they never run into logistical issues.