Don't look at it as a personal rejection. I know that's easy for me to say but try not to. People come in and out of our lives for many many reasons. Sometimes we feel more for others than they do for us.
I had a friendship which I trusted and then totally out of the blue they turned up on my doorstep one day, hurled abuse at me regarding my mental illness and disabilities and relying on her for help when unwell and told me I was ruining her life, she was going to have a breakdown herself if she continued with me in her life. Then she accused me of having an affair with her husband (that was later proven to be someone else, did she apologise? Or put everyone she told it was me right? Nope).
I'd no idea. At all.
I later found out she made a thread on here "about me" (or more accurately her version of me) and that was the advice she was given to do (totally not MNers fault that's not the point of me saying that) She keeps trying to get back into my life, I let her once and she did the same thing again. We'd been friends for years and years. Saw her every day, texted, she said I should see her as a mum figure as mine had been abusive.
A friend told me it was her issue not mine. For a very long time I thought it was me and something I'd done. But actually it wasn't. Took a long time for me to realise that. But eventually you will too. I know it's not the same but people can be shitty and take the piss. I had a friend who was taken for a ride by a supposed single mum to the tune of thousands of pounds - she wasn't a single mum and was using her, she was devastated and felt everyone would mock her if they knew - I knew because she'd told me and she felt she had to "come clean". She's in her 90s and still blames herself.
Final most important thing.
DO NOT let shitty people define you. There are people who care, genuinely care and want to help/support etc. Let them. Yes not everyone is trustworthy but not everyone is a shit. And I say that as someone who struggled massively with trust.