FEHA is the primary law governing work discrimination in California. It prohibits companies from firing personnel because they can be a member of a guarded class.
Retaliation for doing exercises a lawful proper, for https://jmllaw.com/areas-of-practice/employment-law/wrongful-termination.shtml