Japan was not closer to conditionally surrendering to the USSR instead of the US. Even if they were that doesn't magically make their war with the US end.
The reason for the bombs being dropped is very clear and you're free to read countless books, articles, papers on it.
The Cold War started even before WWII ended.
Yes but not every choice during WW2 was about countering communism. We supplied them with an absolute ton of weapons and cutting edge vehicles, planes during the war. The threat of the axis/fascism far outweighed the threat of communism spreading at the time.