Give him space. Your initial idea might be to try to get closer to him, but honestly, that could push him further away. If he's pulling away, it means he needs a bit of space, so go ahead and give him what he wants. A guy can't miss you if you're texting him every five minutes, after all.