Why i feel disgusted when anyguy likes me?

Recently a friend of mine told me he likes me so I blocked him. Like I get it I respect his feelings. But I didn't like it. I said o I don't feel same way...lied that I like someone and then blocked him. He asked to stay friends but I blockedhim from everywhere. Why I feel disgusted by it.? Is it because I don't love myself. Any other girl who feels same?