Do women self-sabotage because they think some guys are fuckboys / too good for them and are afraid of getting feelings and then getting ghosted down the track?

I felt like this has happened to me a couple of times recently.... one of them kinda mentioned it to me.

How do I avoid this/play it to ones advantage?