NASA's Spitzer Space Telescope was used to search for warm gas inside star systems. Based on Spitzer's findings, scientists concluded gas giants form withing 10 million years of a sun-like star's life, or not at all.