Israel 's military has been trying to suppress Palestinian rocket fire from Gaza for months .