On the third day there was a wedding in Cana of Galilee, and the mother of Jesus was there; 2 and both Jesus and His disciples were invited to the wedding. 3 When the wine ran out, the mother of Jesus *said to Him, “They have no wine.” 4 And Jesus *said to her,“Woman, [a]what does that have to do with us? My hour has not yet come.” (John 2:1-4) Read the whole chapter here.

This miracle was Jesus' first recorded. It's interesting that Jesus tells his mom that his hour had not yet come. There's something here that Jesus knows that his mother doesn't. He knows that as soon as his public ministry begins by doing a miracle, it will also mark the inevitable end of his life on a cross.

Jesus was human, just like you and I. Before Jesus is arrested, he is in the garden of Gethsemane physically, emotionally, and spiritually stressed because he knew what awaited him. Jesus probably felt a bit of that stress at this first miracle. He knew exactly why he came to Earth. He knew exactly what the Father's will was: to die for the sins of humanity. 

Jesus changing water to wine as his first miracle actually foreshadows the change that he was going to make in your life and my life. Jesus knew if he changed water to wine it would start the process of dying and taking on your sins. But Jesus changed the water to wine, so that he could change your old life of sin to new life in him.