In CA, we are in an “at will” firing situation. The company can fire you whenever it wants to, without giving a reason. As long as they don’t say what the reason is (and that reason is an illegal reason) they can fire you, and simply not mention the real reason. It’s a wink-wink, nod-nod situation.
In my experience, I’ve known a person who made a complaint of sexual harassment, get fired for “not performing at a consistently high level” even though they had performed at a consistently high level for over 10 years, and had always received good performance evaluations. She got the boot, very shortly after reporting sexual harassment that had gone of for years by one of her supervisors. Her lawyer told her that unless she had video and audio of the perpetrator, it was unlikely that she would win her case, and if she lost, then she would have to pay the creep’s legal bills. It was easier for the company to fire her, than it would have been to go through any publicity, or having to fire a higher level employee. It was all wink wink, because it was well known to most of the females who worked there, what was going on with this creep, but everyone also knew that it would be the women who would be fired first, not the creep.
In another instance, a group of employees were fired for reporting multiple, ongoing, safety violations, but once again, it was easier to say that “the company was going in a different direction and didn’t need them anymore” than to go through a lawsuit, publicly. There was a lawsuit, that was settled out of court, but the people did not get their jobs back, nor were any changes made. According to the company, they were not fired, they were simply not asked back, because they were no longer needed, even though some of them had been there for years, and other people were hired in their place. Wink, wink.