No, he was not killed because he was gay - it was NOT a hate crime. There's nothing admirable about him. A shame that fake news about him is promoted.
Apart from the real reason he was killed, I think the reason the media gave the story so much publicity (when probably at least 15,000 other Americans were murdered that year) was to fire up Democrats to vote in the midterm election.