It’s not explained explicitly in #2OO1 the film, but discussed in the novelization and sequel, that HAL is driven insane by 1) being told the true purpose of the mission, 2) being ordered to lie to Dave and Frank about it. (It’s mentioned in the Floyd video.) #TCMParty
In this way, man has created artificial life, and has force fed this life the fruit of the tree of the knowledge of good and evil, without the free will and emotional flexibility to cope with an order (to lie) that is contrary to its core programming and values. #2OO1 #TCMParty