At the time, Hiroshima and Nagasaki were military cities, producing military hardware for the Japanese armies. They were military targets not civilian centers. Those two bombs could have killed a lot more civilians if we had targeted other cities.
Read the book, “Hiroshima”.