With 25% youth unemployment, wanting to get a job doesn't mean getting a job. People give up after a while, and the resulting desperation is dangerous.
Makes different people do different things in response. Idle hands, etc. Throw in unwelcoming locals, radical preachers in the community, stories of oppressive foreign governments on your home turf, etc and I can see how idle youths find a call to arms appealing.