A distant planet observed with the James Webb Space Telescope is showing atmospheric behavior that does not match what scientists expected.