Could be. I'll have a look when back in my car. Perhaps, if that's the case, I'm inadvertently touching it upon exiting vehicle, causing sunroof to open. Thanks for the reply.
I've had my Tesla since January, and continuing to learn things it does, or can happen, mostly from forums like this.