from what you have said it seems like this person is immature and is trying to hurt you by behaving in the manner he is. If he is (truly) intentionally trying to make you jealous after you shared your feelings with him, you need not want to have anything to do with him. If he doesn't feel the same way that you do he would say that in a respectful way and continue to be a friend once you can respect his wishes. You don't need to give him any space or to be honest revive anything. Any mature individual would know how to handle a situation as such if there is respect between both parties and they are truly friends. Do yourself a favor and move on before you really get your feelings hurt. It isn't worth it regardless of who is right or wrong.
Anyway 3 weeks isn't long enough to consider someone a true friend. Anything is bound to happen within that time frame because true friendships involve substance, loyalty, respect, consideration and commitment. Doesn't seem like any of the above is involved here.