The U.S. president had instructed the Defense Department to restart nuclear testing because of other countries’ testing programs.