After Miriam died, Israel complained and were defeated. After Aaron died, Israel mourned and were victorious.

When Moses died, the manna stopped. When Miriam died, the water stopped.

Scripture doesn't explain what these things mean, but I'm certain they mean something. Mysteries and correlations for us to contemplate.
Numbers 20:1-2 #chukat