In the movie "Fat Man, Little Boy", the code names of the 2 bombs, you could see that the scientists in Ameica were extremely reluctant, on a humanitarian basis, tp produce the bomb. But it was deemed necessary to finish off the war and to save up to 500,000 American lives.
But the Japanese...