they're in a bidding war for mozilla with Google and Bing. Yahoo needs their traffic and is willing to exceed the price of the other buyers.. but it's well known that Yahoo has been struggling for years. So a cautious Mozilla would not take their offer unless it was substantially higher, or had some kind of protection if yahoo fails. Yahoo offers this clause, since Mozilla wouldn't do the deal otherwise.
Remember Mozilla wasn't desperate. They could have accepted another offer for at least $300m/year. Yahoo would have been seen as higher risk... people talk every few months about yahoo like it's a miracle they still exist.
Now, I don't know what happened. but yahoo agreeing to this does not necessarily mean Marissa is incompetent or didn't care or whatever.
Likelihood is probability based on factors, each of which has different weight and is again based on other factors. In hindsight, the likelihood seems obvious; when she was making the decision, not so much.
So she understood the consequences, but just had no clue as to their likelihood or didn't care because she would be set financially? It's horrible either way, she should not be negotiating deals at all.