Germany and Japan were killing millions of innocents in WW2. Not only that, but those killings were entirely unnecessary.
At least with Israel I can give some of the benefit of the doubt that their civilian casualties have some strategic outcome. You cannot say the same of Germany and Japan in WW2.
(please be charitable to the above; there is a lot of nuance here; I don't want to explicitly spell it all out. look at my other comments if you want to know my views)