Well... on the rare occasion I’ve been confronted with anything... I did do it.

And I definitely freeze up (and feel really embarrassed).
Being set up for failure by “friends” is not cool. Is this something that has happened to you a lot? I think it takes practice to learn to speak up in uncomfortable situations. I had to learn to speak up for myself. It was a lot of trial and error. I think once I realized I deserved to be spoken up for, it helped me overcome my reservations about it. It might be something you have to start practicing in every day life... speaking up...
Not sure if this helps. Also, I think if I were to be falsely accused or yelled at... and people were just generally mistreating me... I wouldn’t care to say anything and would honestly prefer to just walk away.