The question I addressed was about the specific ethics of the specific case of "using
the (atomic) bomb".
For survivors of a city destroyed overnight, with a great many friends and relatives dead, others injured or suffering the follow on results of malnutrition, disease, etc. there's little to separate the ethics of the use of an atomic weapon from the ethics of the use of tonnes of HE and incendiary weapons.
The most famous comparison, Tokyo Vs Hiroshima, has little to distinguish them from the PoV of a survivor.
https://blog.nuclearsecrecy.com/2014/09/22/tokyo-hiroshima/
Again, for context, 72 Japanese cities, including Tokyo, were each leveled in single bombing raids before Hiroshima.
Any debate about the killing of civilians to "save US soldiers" from invaders predated the use of atomic weapons by a number of months when the policy to flatten all of Japan from the air first started.
Atomic weapons were developed for use against Germany, with the German surrender prior to a field testable weapon being built, with the imminent collapse of Japan on the horizon, it was a race by those military at the head of the Manhattan project to have clean field targets before the conventional bombers worked through their list.
Hiroshima was to be destroyed by US forces either way.
The question should be less about the ethics of spending an ungodly amount of money to destroy a city with a single bomb, and more about the ethics of destroying a city for considerably less cost with multiple bombs in a mass raid.
I very much suspect a great many regular people in Japan were very much not okay with seeing their fellow citizens destroyed in a war being pursued by other elements of Japanese society.