My guess is that they are trying to verify identity, given that U.S. passports have no biometrics, and are pretty easy to obtain.
As a greencard holder I know have to experience the iris and finger scan. I've had this once, and it was easily the quickest I'm been through customs and immigration. Just a scan, no questions.