Donald Trump’s indignant response to allies’ refusal to get involved in the war underscored that the conflict — now in its third week and causing reverberations across the global economy.