My question is based on the premise that a difference in spiritual levels/righteousness between individuals can cause people to die, get sick, or receive some other form of punishment as evidenced by the incident with the prophet Elijahu in Zarephath (Melachim I - 17,18:18).
When Elijahu came to the woman's house in Zarephath, her son became sick and died. Rashi explains that before Elijahu came her deeds had been compared to the rest of the inhabitants of the city. With the prophet's arrival, the Heavenly Tribunal now compared her deeds to the prophet's. This difference in righteousness caused her son to die. At least, that's my understanding of Rashi's commentary on that verse.
Based on that premise, it should follow that the same should have occured to the people who were around Moshe as he was an even greater prophet than Elijahu?