The Israeli military says the tanks fired at militants who had fired mortars into a nearby Jewish settlement .