What Guys Said 1
Your friend sounds jealous, classic crush haha. sounds like he gets more angry that he can't see you than you personallly.
What Girls Said 1
well I think he does like you. If he sees you flirting and not focusing you atention on him he feels like he's being pushed away. A year friendship to a guy is almost like dating. Ask him why he is mad or if somthing is going on. bestway to find somtihing out is by asking.