How come that nerds are smart despite being addicted to these forms of entertainment?

Feb 2021
New Jersey, USA
One stereotype I heard about what people would call as 'socially awkward nerds' is that 'nerds' like these two separate and different groups of interests.

The first group of interest is the STEM academics group. They are generally a group of very mentally difficult academics that 'nerds' are known to have great expertise on. They are:
  1. Science
  2. Engineering
  3. Technology
  4. Mathematics
The second group of interest that 'nerds' are known for being passionate consumers of are these specific forms of entertainment. They are:
  1. Video games
  2. Animation
  3. Comics
  4. Table top games
  5. Fantasy genre
  6. Science Fiction genre
  7. Action genre
  8. Superhero genre
  9. Horror genre
  10. Violent thriller genre
Now I am wondering if this is true. How come that 'nerds' are great practitioners of STEM academics but are also passionate consumers of the group of entertainment forms that I mentioned such as video games, comics, cartoons, etc.?

The reason why I am wondering is because the group of entertainment forms that I mentioned such as video games, comics, cartoons, etc. are often widely known to impair one's expertise and learning in Science, Mathematics, Technology, and Engineering. For example, letting your addiction to video games, anime, fantasy, etc. consume your life will eventually make you develop a slacker habit and impair your ability and focus on learning Science, Mathematics, Engineering, and Technology.

Is this stereotype of 'nerds' true? Does this 'nerd' archetype even exist in real life? Or could it be that the socially awkward one who is a genius in Science, Mathematics, Technology, and Engineering is actually a completely separate and completely different person from the socially awkward one who is a passionate addicted consumer of video games, comics, science fiction, fantasy, anime, etc.?

What do you think? What is the psychology behind this? How do the so called 'socially awkward nerds' function psychologically? I am wondering cause I am not what people would stereotype as a 'socially awkward nerd'. I am a normal track and field athlete who has many friends. I am bad at Math and have zero interest in video games, anime, comics, etc. I Don't get me wrong. I am not judging people who are 'nerds'. I am just curious. Please help me.