This is particularly brutal if they're ego-centric and doing it to depress upon you "how smart they are".
I've seen this with quite a few "smart" people.
There are two aspects to this:
1) talking "smart" - use of phrases, language, and ideas that aren't obvious, or using terms that are part of "smart"
2) small areas of their own knowledge that you are unlikely to know.
Examples:
friend would pull me into quantum string theory (M-brains, whatever) where they'd memorized certain details of it--they weren't particularly smart on quantum string theory, but I had zero knowledge. They'd keep turning the topic into these areas despite group's conversations not going that way naturally.
another casual friend pulled me into the "A Tribe Called Red is so good" when I started gushing about my appreciation of multi-syllabically rapping styles of lyrical rappers that I liked. They were essentially regurgitating a critic's article on the topic.
Some internal Microsofters a few decades ago would describe that there was internal smart-speak for "smart" identifying people. The same is true in most contexts.
I had an math professor (NOT the one I am referencing in another comment) that was ego-centric and would often respond to my incessant questioning with demoralizing (and sometimes flat out rude) responses. I just acted completely oblivious to the social faux pas and his avoidance/adversarial tendencies eventually turned into a much more productive relationship. I received the only A in the class (he publicly posted everyone's grades).
FWIW, I had a friend indicate that because (tenured?) teaching positions are such high demand, that the available candidates can be significantly high caliber. So that might have played into why the math professor was adversarial initially.
The area I've found the depress-to-impress used was usually in peer contexts and didn't have any teachable outcomes, unfortunately. They're regurgitating material that they have better familiarity with, but probably unable to ad-lib off their "beat path".
With the peers thing I just view it as we all have our pathologies, and some people just feel the need to be perceived as smart (usually some kind of insecurity). Sometimes it can just be too much though and you can get the feeling that you are walking on eggshells around them, perhaps not to trigger a judgement of you on their part.
Plus... intellectuals often like to feel smart, so you have an opportunity to pump their ego a bit :)
I have a similar problem. Meeting another programmer for the first time usually leaves me feeling quite stupid. They’ll start talking about all sorts of concepts, or how they built some particular thing, and I won’t be able to follow along at all.
The good news is, since their first impression of me is so poor, they’re often blown away when they see something I spent time on. They must be thinking, how did this dingus do that?