Don’t feel that way!
Does he know you? He might not have replied if he doesn’t even know you. Maybe you should’ve gotten his attention or spoken to him in person.
If he does know you, maybe he forgot to reply or isn’t interested. Just smile at him when you see him, and if he doesn’t respond in any way, let it go.