Why am I attracted to the girl who already rejected me?

This girl rejected me, but she use me many times, giving out signs, asks me if she is good enough for someone else she likes, I say yes no maybe still she keeps the same perspective.
Giving out signs like when she is excited holding my hand, having very beautiful deep conversations and meaningful conversations.
Having fun many times.
But if I even try to hold her hand, I will be ghosted for 2 days. If I try to get far, then cook for me to find a good time with me.
She is close enough to cry in front of me for silly or serious things (her cat died and emotional numbness )
I still end up comforting her cause I am unable to find anyone else.
As soon as I ask someone out for coffee or a date it's like I instantly get ghosted.
Why does everyone want to be close to me but not at all fall in love?
Why am I attracted to the girl who already rejected me?
Post Opinion