The James Webb Space Telescope has observed two large planets at different stages of infancy - one with an atmosphere brimming with dusty clouds and the other encircled by a disk of material - orbiting a young sun-like star in a discovery that illustrates the complex nature of how planetary systems develop.