Likewise, There were things like the Bombardment of Ellwood, CA by submarine. And the Japanese firebomb baloon programme which were also dismal failures. The bottom line was that most WWII bombers did not have the range to attack the mainland US. The Germans did have their Amerika Bomber programme, which fortunately didn't get anywhere. Even more fortunately, the German rocket and heavy water programmes never got anywhere either.
So, it was primarily logistics and inability to hit the US mainland which is far more of a reason the US was never attacked.
Still, there was also a sea war off the coast of the US. The period from January to around August 1942 was called the Second Happy Time, or American Shooting Season, by German U-Boat Commanders. US Anti-submarine defense measures were weak and disorganized during
that period The U-boats were able to inflict massive damage with little risk. During this period, Axis submarines sank 609 ships totaling 3.1 million tons and the loss of thousands of lives, mainly those of merchant mariners, against a loss of only 22 U-boats. This was roughly one quarter of all shipping sunk by U-boats during the entire Second World War.
The German submarine U-869 was found off the coast of New Jersey in 1991. The U-550 was found off the Coast of Massachusetts in 2012. The latest find is in North Carolina. Unlike the other two U-boats I mentioned, this one also has one of its victims nearby.
A research team using sonar found the wrecks of U-boat 576 and the freighter Bluefields on 30 August in waters off Cape Hatteras, just 240 yards apart. The U-boat had attacked the Bluefields, which was operating under the flag of Nicaragua and was part of a convoy of 19 merchant ships.There are at least another 19 of these German submarines lying off the US Coast.
The reality is that North America was attacked during WWII, but most of those have been forgotten due to the ineffectiveness of the attacks. The reality was that it wasn't guns that kept the US from being attacked as much as other strategic considerations which made such an attack unlikely.
See also:
- Misquoting Yamamoto
- Japanese Bomb the Continental U. S. West Coast
- Japanese bombing of the US West Coast in WWII
- Attacks on North American in WWII
- BBC News - WW2 U-boat found with ship it sank off North Carolina
- Wreck of German U-boat and ship it sank found off North Carolina coast | US news | theguardian.com
- US Coastal Defences WWII