The Israeli military says it launched the air strikes in response to rocket fire from Gaza.