Chancellor Friedrich Merz has changed his tune and voiced criticism of the US President Donald Trump and his war on Iran.