In my experience the minds of teenagers can often short circuit. Some will be susceptible to the lies and romanticizing from some quarters about “jihad.” It doesn’t help that the Muslim communities in the West fail to call these people out and let their people know the true face of the terrorists.
I believe the Muslim community tacitly supports the terrorists.