It’s not, but legal is not the same as ethical.
For a long time, and probably still, it was legal for the US to torture enemy combatants. It was never ethical.
You’d need some shared ethical/moral framework to make that claim, which doesn’t really seem to exist anymore
If you add to that the very broad limits of what the current administration considers "legal" (as in "pretty much anything we want to do"), I can understand feeling uneasy as a Google employee...