The Japanese military committed horrible war crimes during the second world War
The US government should not have targeted high population centers when choosing where to drop the two nuclear bombs
There is zero contradiction between these two statements.