Hi MuddyBoots. Medications could be a factor, but so could dissociative symptoms. We can dissociate while seemingly stable. Really, I think manic or depressive "blackouts" fall within the same kind of realm as dissociative symptoms. My guess is that stress and/or trauma are major players in this. Sometimes perhaps the stress/trauma shows its head when we otherwise think we are managing, but the brain says otherwise.
I hope you'll bring this topic up with your psychiatrist. I know it is a disconcerting type feeling to "lose time".
A possibly helpful article follows. I'd ignore the DID stuff. I think dissociative amnesia or depersonalization/derealization more relevant. At its worst, dissociative fugues.
Subtle Signs of Dissociation, Feeling Outside of Body, Lost Time