Because they were attacked. And Hamas attacked civilians specifically.
I don't love what Israel has done a lot of the time, but you can't be surprised that the world is supporting Israel right now.
I wish there was a non-violent solution, but even suggesting something like that right now seems ignorant of reality.
Love me some Shadows Fall.