And there was no water for the congregation, and they assembled against Moshe and against Aharon.
Torah Temimah: Taanis 9a
English: It was taught: R. Yose b. R. Yehudah said, a well was given to Yisrael in the merit of Miriam; when Miriam died the well departed, as it is said “and Miriam died there” and “there was no water for the congregation.”
Juxtaposition of Miriam’s death and the lack of water.
The traveling well of the wilderness was in Miriam’s merit and ceased at her death.