I don't think we will ever know what went wrong but kids are often depressed or bullied and don't end up killing people.
The parents certainly were not paying close enough attention to what these kids were up to.
Our minds cannot comprehend such thinking which also explains how we didn't see 9/11 coming.
And why we are so horrified at the glee exhibited by the subhumans that beheaded Nicholas Berg.