This is a very poorly-defined question, because I can't figure out what causes this issue. But on occasion (and not rarely), when I pull my phone out of my pocket, the flashlight is on, bluetooth has been turned off, and when I unlock the phone I am looking at the emergency call screen. I believe that the DND and bedroom settings get modified sometimes as well.
I haven't been able to find anything like this on the web. Any ideas? (Pixel 6, Android 13)