Both Dresden and Tokyo were legitimate military targets. Dresden was a major rail yard and Tokyo was the nerve center of Japanese military and political leadership.
The bombings weren’t indiscriminate given the available technology of the time.
L
You've basically justified the 9/11 attacks on the U.S., since Lower Manhattan in NYC and the Pentagon in Virginia are the commercial and military centers of the "Great Satan."