Not a childhood one, but a highly influential thing which happened to me at university. In my first two years there, I had a very close friendship with somebody who, like me, was quite introverted, and we shared many confidences, including about not generally having had many friends. Then, in our third year, she quite suddenly turned on me, refused to associate with me, and made friends with somebody who lived in my corridor of the hall of residence, so I was seeing her around all the time, while she totally ignored me.
I finally confronted her and demanded to know why she was treating me like this. I was told that it was because I was clingy, and always trying to be wherever she was. I was shocked to hear this, and while I don't doubt it was true, I thought that as we were good friends in the first place, she could have explained that she needed space, and told me that she didn't like my behaviour, or even said that she didn't want to be friends any more.
As a result of this, I didn't make close friends with anyone again for a good many years after that, preferring to go it alone.