Scientists discover that Earth’s gold may have come from a powerful magnetar flare, with rare cosmic signals from 2004 revealing the birth of heavy elements like gold and platinum.