Broadly speaking, it's illegal to fire or otherwise punish people for this kind of concerted workplace action, under the Wagner Act. This is the cornerstone of US labor law.
It's important to point out that you can get fired for protesting alone. But once you start organizing, you unlock a lot of legal protections.