Because Yahweh is perfectly holy, he can only be approached in a certain way. Because of this, only Moses was allowed near Yahweh. This is also why Yahweh is described as a "devouring fire.”