This is a type of "behavioral profiling". They take you on a random walk down a conversation tree, and unless you're a very good liar, it will be difficult for you to answer the questions without delays, inconsistencies or other signs of prevarication.
It's a common claim around here that airport security is mostly theater and that El Al does it right. But El Al uses behavioral profiling, and as you point out, that can seem as intrusive as any scan.