The reason was the failure of both Japan and China to understand each other and the inability of America and the European powers to sympathize without prejudice with the peoples of East Asia.
The only way that has ever been discovered to have a lot of people cooperate together voluntarily is through the free market. And that's why it's so essential to preserving individual freedom.