What causes a guy to be confusing about what he wants?

He doesn’t want a relationship but he made a statement about how I dress online

He asked me when I was last intimate but doesn’t want to sleep with me and Implied that he’s intimate with others when I asked.

Rejected me bc I didn’t want to have sex until marriage but said he didn’t want to have sex with me…

Made it seem like he wanted something then kind of became confusing…
What causes a guy to be confusing about what he wants?
Post Opinion