Yeah... as mentioned by some (and thought by most), those two pictures are subjectively better only on an individual level. The blue and teal poles actually look more vivid when taken by the iPhone X imho... which is really the only thing that pops out in those images.
(True that the red ceiling is brighter in the S9 image, but again whether that is good or bad is pretty opinion-based)
The Galaxy S9 picture is sharper, less muddled. Look at the background, the trees and smog. You can differentiate each individual branch of the dead trees, separate from the gray tones of the fog. In the iPhone shot, they’re kinda blurred together. The entire iPhone photo is less crisp, has less brightness and looks much more muddled in comparison. S9 wins by a mile just judging by that one photo, IMO.