After all his inconsistent, lower your expectations and expect that this is not gonna work out. Because this is not a sign of a guy who is excited to be with you. Guys don’t do this when they like you so you just have to move on.
Generally speaking, date people who would not make you feel insecure and date people who are consistent. Consistency is the number one thing you should look for in a guy. Because being inconsistent means there was somebody else, he was settling or he didn’t like you that much.