In a statement to Yahoo’s David Pogue, Apple explains what happened:
“People were handling the device for stage demo ahead of time,” says a rep, “and didn’t realize Face ID was trying to authenticate their face. After failing a number of times, because they weren’t Craig, the iPhone did what it was designed to do, which was to require his passcode.” In other words, “Face ID worked as it was designed to.”
If your iPhone is quipped with Touch ID, you can actually replicate this yourself. Simply press a finger that is not registered with Touch ID multiple times on the sensor. After five attempts, your iPhone will lock out and say “your passcode is required to enable Touch ID.” This is a similar situation that happened there with Face ID.
Regardless of the reason, this is still a flub. Yes, Face ID worked as it was supposed to, but this accidental lock out just made for a botched demo, which is really unfortunate.

Personally, I think we should just move on and wait to get our hands on the iPhone X to judge the reliability of Face ID ourselves.