The threat came hours after American military forces renewed attacks in southern Iran, even as fragile diplomacy efforts to end the war continued.