The Israeli military said it was carrying out “targeted ground raids” in villages close to the Israeli border.