Because they obeyed not the voice of the LORD their God, but transgressed his covenant, and all that Moses the servant of the LORD commanded, and would not hear them, nor do them.
Because they didn't listen to God's voice or follow His rules given by Moses, the servant of God. They disobeyed both God and Moses' commands.