Probably the same thing that got me locked out.
Many years ago when I was a teen I used to get up after the family went to bed and run miles to my girlfriends parents home. (with clothes)
After a couple of hours visiting with her I would have to run a few miles back home before the family got up. (nekkid)
One night Pa realized I had been out and locked the door but I didnt have that key so I was stuck outside. (with clothes)
Another possibility comes from those days...
One night I was visiting and when she got up to use the bathroom she saw a giant bug that flew close to her and she screamed. I had enough sense to jump in the closet before her dad came in to her room.
Lets say someone was visiting someone they shouldnt have been visiting. Let us also suppose that the closet was farther than the patio or back door. Its night so “no one will see me” walking around. The lights or yelling may have suggested it was too dangerous to attempt to return to the house and get clothes.
So you were a normal kid 🤣🤣🤣