Why is it when we have sex with a girl a few times we get attached when they ghost/leave us?

I understand abundance mentality, but help me figure out what essentially this says about me?

I welcome constructive criticism.