The James Webb Space Telescope detected water vapor swirling around a planetary system 370 light-years away.