Answer: Under international humanitarian law, intentional attacks on civilians, or attacks that do not distinguish between military targets and civilians, are prohibited under all circumstances.
Factory conditions were so bad because there were no laws in place to ensure a safe workplace. Children often worked factory jobs too, seeming there were no laws in place having them go to school.