As others have noted, this technology is usually used for international flights, so the airline has people's passport photos. You can certainly opt out of boarding biometrically but your data/photo is transmitted to the airline days in advance whether you like it or not.
Sounds like OP's flight was domestic, which explains the pre registration part.
https://www.wbur.org/hereandnow/2019...ition-check-in