I know there was a long period where noone would talk to me, but I figured out with some help that I was sending the wrong signals. People may assume you're not friendly if you keep your head down, make little or no eye contact, speak very formally, have a serious looking (not warm and smiling) face, have a monotone voice, and who knows what else. I learned to walk around and smile at people if they met my gaze (a slight smile and maybe a nod and then move on), sometimes give a short hello, and with practice, it does get better.
_________________
We are not so different from potted plants in that, if given everything we need to be properly nourished, the outcome can be incredibly contrary to when we are not. A flower won't grow in flour, and neither can we.