The trial often grew emotional as lawyers debated whether the mother was responsible for her children's deaths.