Timbo u fail to get the point

Thepoint is the bombing was a military strategy which wanted to breakdown the economy of japan
By not hurting the military of japan but the economic stability of the country

Japan invaded pearl harbour so why didnt US invade a military base just like the japanese

Because

The Target Committee at Los Alamos on May 10–11, 1945, recommended Kyoto, Hiroshima, Yokohama, and the arsenal at Kokura as possible targets. The committee rejected the use of the weapon against a strictly military objective because of the chance of missing a small target not surrounded by a larger urban area. The psychological effects on Japan were of great importance to the committee members. They also agreed that the initial use of the weapon should be sufficiently spectacular for its importance to be internationally recognized