His manifesto displays a significant amount of paranoia and delusional thought processing, making conspiracy a reality to his perspective. He did what he felt was right in the wrong state of mind as an unwell person.
That doesn't excuse his actions. But please remember there are those of us really just trying to stay alive in spite of a combative brain chemistry and trauma. Compassion is something all of us need right now.