How did the Japanese government respond to the Allies’ bombing campaign?

They refused to end the war.
They surrendered after popular protests.
They built a larger and more powerful military.
They launched an atomic bomb.