I don't think it's right to attack civilians. If Hamas wants to destroy Israeli military equipment then fair enough, I could see a case for that.
Plenty of people dislike US military interventions (for good reasons) - does that mean it would be right to kill US civilians in return? I don't think so. Some civilians might support the worst actions of their government, but other civilians don't at all.