The U.S. Equal Employment Opportunity Commission defines gender-based discrimination as “treating someone unfavorably because of that person’s sex.”