Shooter was a smart (good at calculus and math sort of smart) kid who ended up working in a Nursing home.
I read in Egypt, they churn out 1000s of engineers who then have no engineering work, so they end up in Islamic radical groups.
Bad career counseling, at least in Egypt, creates political violence.
https://www.washingtonpost.com/nation/2024/07/14/thomas-matthew-crooks-trump-shooting-suspect/