I can’t find the article again and goodness knows where I found it to begin with, but it’s buried somewhere in that long thread, but apparently Apple has some sort of patented implementation they impose on Samsung via their specifications. Their special implementation is supposed to reduce burn in risk and increase longevity of the display (and reduce power consumption if I remember correctly) but it does impose an odd kind of power up power down of the pixels and that may be why the flickering is more problematic on an iPhone.
I also own a Pixel 2 and the pwm of its Samsung display does give me eye strain but does not trigger my migraines the way an iPhone OLED display does. Same with an older Samsung phone I had. My last Samsung and my current S9+ haven’t caused me any problems. Though after my short time with an XS Max, I was highly sensitized to any pwm and had to avoid certain lighting and avoid my S9+ display for a month.
Samsung is in the habit of putting much larger batteries in their flagship phones so I think they don’t try all the fancy tricks to reduce power consumption of the display. They don’t seem to bother trying to extend the life of the displays, either, beyond the standard trick of moving “static” parts of the display subtly over one pixel to avoid burn in.
That may be why I can comfortably use their latest displays. I don’t know, I’m neither an engineer nor a neurologist so I’m giving it my best guess.