Dark mode got turned on, on my phone (Pixel 3A) and was grayed out on the Settings Display page. I believe this was turned on as a Power saving default. When I went to the Settings Battery page and turned off the Battery Saver switch, I could turn off Dark Mode again.