Atomic bomb tests conducted during the Cold War proved to be the key to unlocking a huge mystery about whale sharks.