These are two completely different events separated by a long time (one is in Exodus and the other later on in Numbers). In the first event God told Moses to strike the rock, and in the second God told Moses to speak to the rock.
Site Under Construction
This site is still under construction. It needs more references, citations, and debate arguments. If you would like to help, please view the community page.