This sort of thing is called "cold reading".[1] It's well understood, and it's taught to cops and salespeople. First-line people in the hospitality industry (restaurant greeters, hotel desk clerks) tend to have skills in that area.
There's "Manwatching" (1979) by Desmond Morris, a more serious study of this.[2] Good pictures and drawings.
Lie detectors are also well-understood and taught to cops. K-9 probably cause manufacturer units are well-understood and also taught to cops. In fact, the list of things that are totally bogus and well-understood and taught to cops since the era of Bill Clinton is so long that perhaps it should be well-understood and taught to cops too.
There's "Manwatching" (1979) by Desmond Morris, a more serious study of this.[2] Good pictures and drawings.
[1] https://en.wikipedia.org/wiki/Cold_reading
[2] https://archive.org/details/manwatchingfield0000morr/page/n5...