There are always things we don't know going on behind the scenes for these types of moves.
Remember when Marissa Mayer was poached from Google to run Yahoo, and the first big move she made in a series of bungles included buying Tumblr for $1.1bn. Then she termination the option for employees to wfh. Then was later revealed that she had consecutive bad performance reviews at Google and was not going to get further promotions there before she jumped ship.
Edit: I'm just bringing up Marissa Mayer as an example and maybe misremembering the specifics since this was 8 years ago at this point. There are plenty of other examples of executives doing weird stuff that seem nonsensical from the outside. Jamie Dimond proclaiming bitcoin is a fraud while consecutively JPM buys a hefty investment in bitcoin. Or Bill Ackmann crying on CNBC while financially positioned for the exact opposite.