The Israeli army says the soldiers only then realized the man , who was wounded in the chest , was an Egyptian security officer .