Original: Or, alternately, she killed Lamia's children and the grief turned her into a monster.
Simplified: Hera was jealous of Lamia and turned her into a monster. When she was a monster, Lamia then killed her children.