God gave these miracles to Moses as signs to Israel and to Pharaoh:

changing his rod to a serpent and back to his rod
making his hand leprous and whole again
changing all the water in Egypt to blood