"But Muslims don't like gay people" does not justify that.
And saying the IDF "occasionally" targets civilians is just completely divorced from reality. They've been systematically attacking civilians for more than two years straight now, racking up a kill count of more than 80,000.