I think that they were wrong to- yes, it was in the middle of a war, but Japan weren’t majorly involved in the war like the UK, France, and Russia were. Japan wasn’t a major place for producing ammunition either, so all the bomb did was cause mass fatalities- most of which weren’t even soldiers, but ordinary, innocent citizens. In the end, the atomic bomb was one of the reasons Japan surrendered, and was one of the contributing factors how the Allies won the Second World War, so there’s two viewpoints. You could say they were right to drop the bomb, because it affected the war and actually led to them winning it, or you could say no, as it wasn’t entirely justified, and Japan wasn’t really a hotspot for war activity anyway, so it could have been slightly pointless.
Hope this helps!