Even as Japan was rallying to its courageous prime minister, China was inflicting humiliation on America’s closest ally.