Is it mean for a guy that knows you like him to go for your friend?

The question is, does he know if you like him? Chances are, he doesn't actually know, you just think he does.