We targeted population centers as a matter of policy in conducting the war effort against Japan.
I’ve always heard that these cities in Japan were military targets, that there were military factories and bases in these places.
You may know more than me about the laws of war. I am not well versed in issues such as the Geneva convention laws of war, which countries are supposed to adhere to in military conflicts.