I had the same problem when the switch from CRT to LCD screens happened. I would get very dizzy when using them for a longer period of time. Other people looked at me funny. A lot of the LED bulbs are also flickering and can cause this issue. You can use the phone camera in pro mode to change the shutter speed to something like 1/8000 and it will show you the flickers.
Recently I switched from a 1440p IPS display which had no visible flickers on camera to OLED which has the flicker and the issues of headaches and dizziness came back. I can sometimes get used to it, but it's still straining more than the previous display did.