The FBI identified the shooter, who is dead, as Thomas Matthew Crooks of Bethel Park, Pennsylvania. A motive was not clear.
…
Bethel Park is a predominantly white, relatively well-to-do city in the southern reaches of greater Pittsburgh. The site of the rally, Butler, is about an hour’s drive north of Pittsburgh.
Pennsylvania voter records listed a Thomas Matthew Crooks with the same address and birth date as a registered Republican, though it was not clear from the records when that was put in place.
So, this is 100% speculative rambling at this point, but as a gut feeling on my part that can be proven wrong: I get the feeling it might have been someone from a Republican family, possibly shitty family psychology-wise, registered as Republican for his families sake but got f’d up by the pressure within his personal relationships and the state of the world, who radicalised himself on the internet.