>> It is almost like US doesn't want its allies to work well with each other.
Pretty much on point. See also support for Brexit and anything that divides Europe. It's really just about protecting US's interests. Double standards is part of that. International law is for weaker nations(i.e divided).