I like your second explanation.
A cynical person would surmise that HP knowingly hired Apotheker to be a sacrificial lamb. A lamb that would make a few unpopular board-supported decisions (to the public and stockholders) yet leave the board's hands clean once that lamb was fired.