One of the real tragedies -- and this one I think I can state with some accuracy -- is that the efforts of the Republican party to turn anything LGBTQ into a "common enemy of the people" is a very real contributor to this and other recent tragic events.
I hate to say it, but Hitler did this with the Jews (and also gays and Gypsies) to great effect. And there are of course other examples throughout history.
You know, unity among humans depends on whether we have (or perceive we have) enemies. When times are good, we are mostly not concerned with everyone around us, nor do we spend much time making nice -- we prefer the company of our own family or local group. But when there's an enemy to face, well then, we must come together.
Think about it -- people in Britain prior to WWII weren't noticeably social with people the travelled with on the bus or the tube. But during the blitz, they certainly were -- "we're all in this together" became the mantra. Demagogues learn how to use this feature of our human nature to enhance their own power.