In a statement, the Israeli military said it targeted what it called "a terrorist" who had approached troops in the area of the Yellow Line, which marks territory held by Israeli forces, and posed an immediate threat.