That license binds people who use the code you wrote & protects you from their legal claims. OFAC isn’t using your code. No open source license is going to protect you from US sanctions.
From the Twitter thread it appears that the devs whose accounts were nuked were core contributors to a sanctioned entity. That feels fairly sensible & what a company who wants to comply with sanctions would do.