Because being one of numerous factors is not the same as being the only factor, or even necessarily the deciding factor.
After that, please read some basic WWII history before stringing this thread out any longer, if you're seriously unaware of anything but the atom bomb that didn't go Japan's way in 1945.