Because V-E Day was May 8th, 1945 and the Trinity test wasn't until July 16th.
In short, The United States wasn't at war with Germany when the bomb was available.