Both of the base shootings seem to be "enhanced" suicides to me. They were going to kill themselves and took others with them. That serves two purposes.
1. They get their name in the paper.
2. If they weren't sure if they had the guts to do it, once you shoot a few others, you have to carry out your own suicide to escape life or capital punishment.