Why did President Truman feel he had no choice but to drop the atomic bombs?

He feared that Japan would mount a fresh attack on US forces.

He felt that without the bomb a costly invasion would be necessary.

He feared a Japanese invasion of the California coast.

He believed he needed to defeat Japan first before defeating Germany.