It is generally illegal to fire someone solely because they have cancer. However, if an employee is unable to perform their essential job functions even with reasonable accommodations, termination might be legally permissible. Employers must navigate these situations carefully to avoid unlawful discrimination claims.