Thank you for the opportunity to help you with your question!
President Truman gave the order to drop an atomic bomb on the Japanese city of Hiroshima in August 1945. Even after testing, the American scientists were unsure of what would happen. The Americans thought about warning the Japanese first, but the enemy might have moved Allied prisoners to the site. The Americans rejected dropping the bomb in the ocean. They decided the war would not end unless the Japanese government understood the damage America would inflict.
Please let me know if you need any clarification. I'm always happy to answer your questions.