But the Lord replied to Moses, “If her father had spit in her face wouldn't she have been disgraced for seven days? Keep her in isolation outside the camp for seven days, and then she can be taken back in.”
It was in response to the Lord's instructions that they were registered by Moses. Each of those registered were told what to do and what to carry, as the Lord had ordered Moses.