Attacking foreign forces occupying your land is legitimate. Attacking innocent civilians though, is a crime, and Hamas should realize that they will gain absolutely nothing when they continue shooting rockets at Israeli civilians - apart from more hatred and destruction. Try talking instead of shooting...that also referes to Israel as well.
Saudi-backed forces advance on rebel-held province in Yemen (DPA)
from the article: Netanyahu threatens escalation as Gaza rocket toll mounts