Why is a guy mad at me that I hooked up with his friend when he hasn't and wasn't ever going to ask me out?

He was yelling at me. I moved on? I didn't even know they were friends

Why is a guy mad at me that I hooked up with his friend when he hasn't and wasn't ever going to ask me out?
Post Opinion