Sounds like him and your friend are hitting it off, maybe developing into a more serious relationship. Seems to me that your a bit jealous you liked knowing he liked you and now he's moving on and your peeved. Well it's a normal reaction really but that's likely what is happening.