I’m not standing up for this type of behavior but think about it in the opposite more personal way.
A lot of nerdy/geeky/tech oriented kids didn’t exactly grow up being pulled into a world of social skills. When you are picked on and ostracized for being nerdy, at typically the hands of the more popular/attractive kids, it creates a very specific way of looking at the world and yourself. Why should you feel attractive when everyone tells you that you are not? Move forward to the real world and now you find yourself thrust into a situation where an attractive woman is working with/beside you. Of course you are subconsciously putting her on a pedestal, a lot of your life experiences have molded you to this action. She represents some holy grail, that if she liked you back, would nullify all the other things people have said to you over the years. (Which also leads to some issues of you being both hot and cold toward her…)
Of course we know it won’t and there are psychological issues here deeper than simple social awkwardness… As someone who was that outcast kid in school I never saw myself as being attractive, even as an adult I still don’t. I think school today does little if anything to teach social skills and how to interact and respect others. You are right when you say she’s just a person, everyone is, we all have baggage/issues.