The Israeli army says its troops opened fire on the men during operations against militants in the areas .