I’m gonna say 99.9% chance it’s an oil pressure sender. Front of the engine above the oil filter. Had a tubular 1-wire connector that may have a second connector at the front of the intake. If so, you can look at it and see oil around the connector. Get it replaced ASAP, oil will wick up the wiring harness and into the PCM.
When that was happening with my 2017 Sonata, it was the oil sensor, but YMMV.
So, looks like oil pressure sensor is going out, and seeing mileage, should be time to get the timing belt/chains (if applicable) oil pump chain, assuming timing belt and/or chain hasn’t been changed yet. Could be too much slack on the oil pump. Nevertheless, check manual for maintenance on the timing belt/chain.
Oil pressure sensor. My wife’s Hyundai had the same problem.
It’s bad-quality oil or oil burning too fast. Take it to the dealership. Already thousands in recall for this issue. I just had an engine failure with the same flickering light a few months back. The oil completely burnt out within a month of oil change. Luckily mine was under warranty so they are fixing it for no cost.
That’s your main bearings being tossed akimbo.
You have a nail.