While evil, it's common corporate practice (in the US) to get rid of new mothers and employees with deteriorating health, largely by looking for or fabricating trivial excuses to justify their termination. Corporate HR departments excel at finding legal excuses to dodge liability.