In contrast to Australia, New Zealand's leaders have spoken out with criticism of Donald Trump as the US president threatens Iran's civilians.