This guys tends to walk away when he sees me?

There is this one guy, that I'm pretty sure is attracted to me. He's confident but quiet, and sometimes when him and one of his friends approach me, and if I talk to his friend more, he tends to just walk away... Same happens if I maybe talk to my friend more, then he'll also just walk away.

Just why is he doing that? We are open for him joining the conversation, but then he'll just walk away.. What's going on?
This guys tends to walk away when he sees me?
Post Opinion