Why is my guy friend mad I slept with his friend?

He had originally rejected me twice so I don’t see why he’s mad? He had his chance twice. And twice he said no.
Why is my guy friend mad I slept with his friend?
Post Opinion