I had a scare with my 2018 Mazda CX-5. What I thought was the oil pressure light would come on and off (after I had an oil change).
I had plenty of oil.
Turns out it was the oil temp sensor light. Same symbol, but a different color.
I had a small oil pan gasket leak and some of the oil had dropped onto the sensor. Quick (and cheap) fix