The Trump administration has frequently accused US allies of failing to live up to mutual defence obligations.