I know someone who has social anxiety that drives them from social events, but also makes it difficult for them to do small talk. So instead, they read. A lot. Literature, science, philosophy, gardening... That's where the next problem comes in. They find some fascinating fact and think "this is so interesting, next time I'm tongue tied, I'll remember to mention it!". That's when they realise that most people want to talk about what they ate for breakfast, who won the sports event, what their 6 year old said to teacher, whether some famous person is an asshole or not. Not a lot of people want to get down into the belly of a complex subject, debate the finer points of some issue. And that's fine, but my friend just can't do that type of conversation for more than a minute or two before going completely blank and then making some excuse for moving on.
Worse, there are people who take offence at intellectual conversation. Anything from mild annoyance ("huh? What are you talking about?") to outright insult ("Oh, somebody swallowed a dictionary" / "You think you're so smart")
As someone else pointed out, you can go online and try to find like minded people, but that can be so toxic. And not just the wider internet, but specialist groups that have a lot in common. Why, a knitting group ended up front page on the internet a while back because they tore each other apart in the middle of some purity spiral.