So, God told Moses to simply speak to the rock on the second occasion.  However, Moses disobeyed and hit it again.  The rock still gave water, because God cares about His people, but Moses was punished severely by not being allowed to enter the Promised Land with Israel.  This is because the two meetings with the rock were to create a very important picture that Moses ruined by his sin.  What was this picture?

-Israel was punished with wandering, but would be restored.-

-God is their rock.-

-God judges sin.-

-Christ is the rock.  He was smitten once for us, and now we only need ask Him to save us.-