She already said it was a gamble, but she knows the stuff about the 20 years into the future, how Momo and company should reappear, then 20 years happen, and foreigners arrive into Wano opposing Orochi and Kaido, including Zoro who was good enough to save her and Toki, so it makes sense she would connect the dots.
And since when are gambles a good explanation? lol