I don’t know if you felt truly loved by your parents as a child or if one parent was absent.
But please be careful now as an adult not to interpret every form of attention as love and to engage with every person who gives you compliments or some form of attention.
Yes, it triggers what you were looking for as a child. But don’t give all of yourself to people who give empty words and don’t really perceive your value and only think of their temporary advantage.
Take time to see if this person really sees your value and treats you with respect.
Even if you lacked something as a child and this triggers your wound, give yourself self-respect, because you deserve it.
Unfortunately, not all people are pure in their intentions and people who have such an open heart as you are their perfect victim.