I was the same. When I was younger and so naive, I would try to impress anyone I had just met in hopes of getting them to really want me or basically have them revolve around me. Poor developed emotional and social skills I would say.
skilsaw got the gist of it down. Another aspect is control. If someone really likes you or wants you, most likely they will hang off of your every word, and this brings you a form of control over the person that wants you. This is why people improve themselves, or change into better "lure" or "bait" to catch their "fish" or to simply have MORE CONTROL.
Working out, tattoos, staying fit, being smart, being rich, going to school, or ANY reason that will fill someone else's desire will "make" them want you, because you now control what THEY want.
Negative emotions, or lack of positive ones that create an idle vacuum are Life alarm systems for
"You're not doing your job, make babies and make sure life continues, but you can't do that if you are waiting to be wanted, so you will suffer until you make yourself wanted." This is sort of forced suffering is an ancient function that is left over from our primitive past that was to ensure survival because conditions were so tough, you would die if you waited around to be wanted. It was imperative that life went on regardless of your desires.
So, you wanting to be wanted is a way of cheating to convince life that you have filled it's obligation, because if you are wanted, that means you are going in the right direction and closer to making babies. The initial reward is your "wanting" will be satisfied, then the jackpot is the orgasm *mod edit*

.....tada! Life! Now care for it until it is self-sufficient and then die...because you have to. Your getting tired of every friendship or relationship because you won't feel safe unless you control your situation, like most humans. This will be the bane to your emotional development because you are looking to control everything outside of you. Maybe because like me, you have given up trying to control the inside.
Nowadays, life has become overcomplicated in an overpopulated world and it's driving everyone mad. This species did it to itself, because the ancient functioning of the powers-that-be gives way to the greed and corruption that has grounded humanity to a grinding halt. Everyone everywhere passing laws, ordinances, rules, policies, guidelines and whatever you name it in order to CONTROL everyone else in the cleverest way possible, so they can stock pile resources to closer guarantee satiating their biological obligation to life. Most will say, "I make my own decisions, and life doesn't tell me what to do!" Hardly. The fact that you want ANYTHING is proof.
Life is a scam, and we're all fools for "wanting" anything. I don't believe we choose anything. When faced with an itch on our body, no amount of psychology, philosophy or any sentient decision making mechanism will scratch it.
The girl in the picture of my avatar is not me. She's the actress in a show from my childhood memories. It takes me back to a simpler time when I was truly happy. If you saw me, you would vomit yourself inside out.