Japan was the one who started the war. Japan was the aggressor. Defending yourself by winning a war against an aggressor is not a "wrong".
Many more people were saved by dropping the bombs than people died in it. And, while it is a tragedy that those people died, that fault lies with Japan, not the US.