Taking care of their child through health and hardship is their responsibility. They took up that responsibility when they had the child.
Sure, it sucks to be them when they're in a position where they're attempting to take care of a child while working - but that's not their co-workers problem. That's a consequence of their own choices.