When the employer is not a government agency, then the employer may legally fire you for any reason (or no reason at all) except for a few reasons prohibited by law. The prohibited reasons include firing you because:
• of your race, color, religion, sex (including sexual orientation, gender...