Germany was cornered and the economy and troops gradually went down, leaving them to forcefully surrender. They also had no manpower left and were against the 2 strongest armies in the world.
Wanted to attack american convoys to legally take the Americas after the attack of pearl because they thought america was weak and had nothing left in the after the bombing
First nuclear weapons being made when us was partnering with UK and Canada. These weapons would later lead on to attack strong civilizations and threaten other countries.
Hiroshima happened on August 6, 1945 and was nuked in Japan to end the war leaving Japan to suffer from the extraordinary damage and loss of troops in the military.
Nagasaki August 9, 1945 was an ultimatum that was bombed after Hiroshima when the us declared Japan to surrender for good, Japan later than didn't and got bombed.
Japan surrendered after both of the bombings on Hiroshima and Nagasaki. They were left with very little resources, soldiers, and money. Apart from that they suffered huge damages and the emperor of Japan was scared and order a surrender.