FEHA is the first law governing work discrimination in California. It prohibits businesses from firing staff as they undoubtedly are a member of the shielded class.
there are plenty of other conditions that can change https://jmllaw.com/areas-of-practice/employment-law/wrongful-termination.shtml