Why is that when someone is nice to me I fall inlove with them?

I never felt love. Like when I meet a guy online or irl and he is nice to me I tend to fall inlove. I imagine myself dating him. Like the what ifs
Why is that when someone is nice to me I fall inlove with them?
Post Opinion