The bombs made clear that the US had the upper hand in warfare technology (and no scruples in taking advantage of it) and that action ended the war without additional casualties on US part.
The decision wasn't neither humane nor merciful , but from a rational point of view made a lot of sense.