ANSWER: Since before the Exodus, the Israelites had a tendency to whine and complain about a whole host of things, including their leaders. Sometime after leaving Egyptian slavery they had a dire need for water. Instead of asking and having faith in God, they turned to complaining against their human leaders who were Moses and Aaron. They whined about being brought out to the wilderness so that, they assumed, both they and all they possessed would be no more.
5 Why did you bring us out of Egypt into this miserable place where nothing will grow? . . . There is not even any water to drink! (Numbers 20:5)
What was the solution to the problem of NO water for the people, cattle, etc. in the desert wilderness of Zin? God told Moses and Aaron that they were to, before the entire population that left Egypt, strike a certain rock with Aaron's staff. After they did this water would come from the rock to quell the thirst of the people (Numbers 20). The two men pretty much did what God commanded, except that they were so angry with the people that they made it appear as if they by their own power were providing water ("Hear now, you rebels! Must we bring water for you out of this rock?" - Numbers 20:10).
"Then the Lord spoke to Moses and Aaron, 'Because you did not believe Me, to hallow Me [proclaim my name holy] in the eyes of the children of Israel, therefore you shall not bring this assembly into the land which I have given them.' " (Numbers 20:12)
Aaron died, as God said in verses 12 and 24, for his part in the rebellion at the rock of Meribah. He died on Mount Hor (Numbers 20:25 - 28), which is thought to have been directly south of Jerusalem. He allowed Moses, before he died at Mount Nebo (located directly east of Jerusalem), to view the broad panorama of the land inheritance he swore to give the descedants of Abraham, Isaac, and Jacob (Deuteronomy 34:4 - 5). After his death his body was buried by the Eternal in a special place no one would be able to find. It is interesting to note that Mount Nebo is at a higher elevation than Mount Hor, thus providing a more spectacular view of what God promised the Israelites as an inheritance. Thank you for submitting your question.