The situation is not akin at all.
The Allies have never been accused of committing genocide on Germany and Japan, however, they have been accused by some of war crimes by their bombing of civilian areas.
But there was never an attempt to wipe out the entire populations of Japan and Germany.
In Gaza, however, many suspect the huge number of civilian casualties, destruction of hospitals and denial of food aid by Israel is in effect genocide of the Palestinian people.