Forgive me if any of this is off. I'm just running off the info you've given.
This happens when you don't know how to handle yourself with dating men. Specifically, you're not thinking of investment dynamics, which can lower your value in the eyes of others. It's like, things that are easy to come by have less value, but if you're made to invest more into something, you see it as higher value. That's because when you invest into something, your brain backwards rationalizes that it must be important or you wouldn't be putting energy into it.
Understanding this is fundamental to getting men to respect, invest, and commit to you.