Why do guys say they don’t want a relationship but get into one?

The same guy who o screenshot his conversation is the same guy he blocked me on Instagram and doesn’t have the heart to tell me he was dating someone and was gonna say I was about to text you but he wasn’t cause I know how he act. Flaky with the whole hot and cold.
Why do guys say they don’t want a relationship but get into one?
Post Opinion