Pyongyang fired several cruise missiles shortly after a U.S. nuclear submarine left the Korean Peninsula.