His mother said to the servants, "Do whatever he tells you." John 2:5
I'm not sure if Mary was expecting Jesus to turn the water into wine to save the groom's reputation, but she needed his help to remedy the situation. She must have known it was nearing the beginning of his ministry because he had some of his disciples with him at the wedding. I wonder if Mary and Jesus had discussed beforehand when his ministry would start. With his reprimand of her, he intimated that he wasn't quite ready, but it was his mother asking, and he showed his respect for her by performing his first miracle to save the day. The servants followed his instructions by filling the ceremonial cleansing jars with water.
Here are a few of my thoughts about this portion of scripture:
Did the wedding planner (master or ruler of the feast) make a mistake, or was it the groom? This wedding was enormous; the whole town must have been invited for them to need between 120-180 gallons of wine!
They were washing jars - was the water dirty before Jesus changed it to wine?
When we come before the groom, we will be perfect and sweet like the wine served by Jesus at the wedding. Jesus is our groom, but he also cleans us up!