Lets not forget that it wasn't like we had lots of uranium and plutonium readily available. We threw literally everything into those two bombs, hoping that if one didn't work, the other would. That means the targets were probably chosen to inflict the most damage, not necessarily the most military target. Again, with everything else considered at the time, I don't question the decision made back then.