The time between the two switches being activated and then them being switched back on after being noticed strongly suggests that they were actually manipulated. Malice looke very likely to me. An investigation into the pilots life may turn something up, I guess.
It’s worth noting that Premeditation or “intention” doesn’t have to factor into this.
Studies of survivors of impulse suicides (jumping off of bridges etc) indicate that many of them report having no previous suicidal ideation, no intention or plan to commit suicide, and in many cases no reported depression or difficulties that might encourage suicide.
Dark impulses exist and they don’t always get caught in time by the supervisory conscious process. Most people have experienced this in its more innocuous forms, the call of the void and whatnot, but many have also been witness to thoughtless destructive acts that defy reason and leave the perpetrator confused and in denial.