God told Moses this so he would honor God.
The implied information is that where God is present, the immediate area around God is considered holy or is made holy by God.