Thanks all
My wife does hold a current EU passport and is an Irish citizen; perhaps all this pops up on the immigration officer’s monitor, even though she is traveling on the US passport—which also might explain why the officer made the statement in the first place.