Those are relevant considerations, but ultimately the only question is whether or not it brought victory.
And I use victory in preference to ‘Japan’s surrender’, because the attacker seeks victory, of which surrender is only confirmation.
And Japan sought only victory everywhere it went, so it can’t complain about its enemy adopting the same standard, although it still does.
WWII bombing was inherently inaccurate.
Civilians were bound to die.
As indeed they did under infantry, armoured and artillery assaults by both sides in all theatres.
Now some military clowns call it ‘collateral damage’ which apparently is the unintended consequence of ‘surgical strikes’. I’ve never been able to work out how collatarally damaged wounded and corpses look different to ones surgically stricken.
Does it matter what the targets were in Japan, if they brought surrender?
Hiroshima and Nagasaki as targets were a bloody sight more linked to Japan’s war effort than, say, the Sook Ching and other massacres by the Japanese of defenceless civilians in areas they conquered.
Only a suicidal idiot keeps boxing on Marquis of Queensberry rules when his opponent is kicking him in the balls, scratching at his eyes, and biting.
Japan got a lot less back than it gave, nuked or not.