(((hugs)))
You didn't do anything wrong. Perhaps your bf misunderstood your explanation of what happened?? Or, maybe he transferred his anger towards his uncle to you (rather than rock the boat by confronting his uncle). That's a possibility...
I don't blame you for being uncomfortable and unhappy. I would be too!!

You are in a tough situation.

Wishing the very best for you.