I feel like he's leading me on 😕

I've been talking to this guy everyday for months but we've been close for years. Recently it became sexual and we've both admitted we have feelings for each other. However, recently he told me that he's not comfortable with a long distance relationship, but he still behaves as if he is. I'm confused....😯