That woman, Andrea Yates, had a very long history of psychotic mental illness and paranoid schizophrenia.
She is now in a mental institution.
Her husband should have been on trial with her.
He was a religious freak who took advantage of his wife's delusional state to control her - to get her to stop taking her meds (then he couldn't lump her with all those kids), not use birth control (against the will of God), keep having his babies (although she'd been committed multiple times and psychiatrists had advised him or her to be sterilised, not have any more kids, etc.).
The day before she did what she did, she'd been released from a psychiatric hospital. Against medical advice, but her insurance wouldn't pay anymore and of course, her husband sure as hell wasn't.
She was so deranged, she did what she did, dressed most of them back up and put them in bed. Sat on the couch, rang 911 and told them God and the colour blue had told her to do it.
Now she was truly so insane she was eventually found not guilty by reason of insanity in Texas. Texas, a state well-known for throwing the book at criminals and executing more than any other state.