It's not the fault of the US that the government of Japan militarized their whole society and literally made the whole of the country a military target.
This is exactly the sort of collectivist thinking that makes it possible to have WWIII. When you can disregard fundamental human dignity based on the actions of a government, you've already lost.
Japan wanted to be left alone. Western powers took it to war to force it to their will.
Yeah, left alone to create the "Greater East Asia Co-Prosperity Sphere" (https://en.wikipedia.org/wiki/Greater_East_Asia_Co-Prosperit...).
You're welcome to ask the various Asian nations of that region whether they thought that was a good thing but I doubt you'd like the response.
In other words, that's a century later...
[0] Also known as the "two wrongs make a right" fallacy. See https://www.logicallyfallacious.com/tools/lp/Bo/LogicalFalla...