As a hobbyist photographer (not a pro -- but enjoy taking pictures and editing them) -- I'd say the Samsung photos look like they do a more accurate job of portraying the real lighting conditions, on an unedited photo.
The iPhone X looks like it opts to add a little more exposure adjustment to those relatively dim lighting situations. Thing is? That's probably the same kind of adjustment I'd tend to apply to one of the Samsung photos after the fact, in my photo editing package, before sharing the photo.
So "better" seems subjective here. Samsung probably has a slight edge at retaining the original look of things -- but the iPhone does a great job of producing a result that's closer to what many people would prefer to see.
The iPhone X looks like it opts to add a little more exposure adjustment to those relatively dim lighting situations. Thing is? That's probably the same kind of adjustment I'd tend to apply to one of the Samsung photos after the fact, in my photo editing package, before sharing the photo.
So "better" seems subjective here. Samsung probably has a slight edge at retaining the original look of things -- but the iPhone does a great job of producing a result that's closer to what many people would prefer to see.
My preference is for the iPhone X photos in all cases. The Samsung pics look a bit murky at times and—who knows—maybe the Samsung more accurately portrayed the reality, but the photos I would want to keep are the iPhone X.