Why does he want me to say hi to him in public?

I thought that guys consider it awkward. So far we’ve just chatted on social media. We haven’t gone on a date/ hang out. one day I just saw in him public and I mentioned to him. He said next time say hi to me even if I don’t see you first.

does that show he likes me?
Why does he want me to say hi to him in public?
Post Opinion