I don't think they "just happen", but they originate in ways that aren't accessible to consciousness.
So to consciousness they suddenly appear, but it was still my brain that formed them, so me.
So to consciousness they suddenly appear, but it was still my brain that formed them, so me.
Interesting philosophical position! I've rarely seen that position be held in earnest, because the obvious consequence is that you should be held fully responsible for anything possibly criminal you do while sleepwalking, as it was still on your brain's orders, regardless of your state of consciousness.