What are you having trouble understanding?
I'm sure Marissa's departure was considered a huge loss at Google, especially to go to Yahoo. No company is ever happy to lose an executive.
To be fair after reading a bit more and thinking about this it could be a vanity move motivated by the promo skip.
Besides, maybe she really believes she can turn the company around - who will be laughing if/when that happens?