Rocky planets are typically found near their star, while gas giants form farther out — not the other way around. When you purchase through links on our site, we may earn an affiliate commission.