If it can be proven that that's what they did, it's likely illegal.
Any one who isn't asleep at the wheel is well aware that corporate/institutional newspeak terms like "Anti-Racist/Anti-Oppression lens" means anti white and asian.
If 90% of the people who work at Twilio are white, and 90% of the laid off people are white, that isn't discrimination.