Hamas knows the Israeli weak point - sensitivity to international condemnation - so the military goal is then to make them look like monsters.
Hamas needs the press to do their fighting for them.