I think I may have steered a guy away because I was codependent, which is obviously the opposite of what I want. How do I build up a guys ego, for future reference?

Context: I basically told him I ‘missed him’ and he seemed to run away from that (ie didn’t respond).