There’s no hint that Mary doubted Jesus could conduct a wonder. In this instance, she also believed It might be in accordance with His will and so He would act.
There will be moments when the Holy Spirit will deliver https://www.amazon.com/Prayers-That-Demolish-Mountains-Result/dp/B0D7TF2CKK