Frustration is building within the Defense Department, officials say, over the surge in Iranian proxy attacks on American military positions.