Israeli military aircraft bombed Hamas facilities in the Gaza Strip, hours after two rockets were launched from the Palestinian enclave at Tel Aviv in the first such attack since a 2014 war.