“If a woman happens to become pregnant and for medical reasons they can’t devote the time and attention to their job, fair or not, that can trigger resentment by the company,” said Craig Barkacs, a professor of business law at the University of San Diego.