Yellow Perils of Robert Heinlein (openedition.org)

The bugs in Starship Troopers are an allegory for East Asians, and the Trisolarians in The Three-Body Problem are an allegory for Americans. Robert Heinlein: Kill all the Asians because they're communists, Liu Cixin: Avoid the Americans in the dark forest of the galaxy because they're capitalists and they'll act insane and make everyone insane.

Meanwhile, the Japanese don't identify as bugs: Japan was isolationist, but they were original individualistic people, not a hierarchical one. (the16types.info)