Weird restarts at night after updating to iOS/iPadOS 17

I experienced the problem for what I think was the first time last night, though it’s possible there was one other time (I have a dim recollection of having to enter a passcode when I wouldn’t have expected to). This is my iPhone 15 Pro running iOS 17.0.3. No temperature issues on this one.