Was the shooter on any medication?
You don’t have to ask. All of these shooters are created by psychiatrists.
If he was in a mental facility- committed by police, military or himself, he was bound to have been prescribed something.
And, he may have been a self medicator too, gaping who knows what, etc.
To avoid arrests for drugs or assault some folks make a beeline to check themselves into an institution.