It's a total guess, but if it was all one ticket on one airline, I would guess that somehow they thought you missed the first segment. Because you were standing there they realized the system was probably wrong and banged at the keyboard to get you on the flight.