Scientists using NASA's James Webb Space Telescope have revealed how an unusual planetary system 190 light-years away formed. A hot Jupiter and a smaller mini-Neptune orbit the star TOI-1173, defying expectations.