1997 BMW 525i-Spontaneous Alarm, Engine Light, Window

I’m trying to determine if my car alarm, check engine light and back seat window (driver’s side) are connected. Without warning, my car alarm will sound. My check engine light comes and goes . . . as well as the functionality of my window . . . comes and goes. Repair shop checked the electronics and they checked out fine. Any ideas?