These shots were made because the USSR broke the nuclear test-ban treaty when it detonated the 50-MT Czar Bomba hydrogen bomb over Novaya Zemlya in the Arctic Ocean.
What is worrisome about Starfish Prime is that it caused electrical damage in Hawaii in the pre-electric age. Imagine the catastrophic damage it would cause today.