Navy Deputy Assistant Secretary Donald Schregardus said the exemption was a response to a lawsuit filed by a coalition of environmental groups led by the Natural Resources Defense Council over the use of sonar that they say injures and kills whales and other marine animals.