Moses was warned that there would be no tolerance for breaking the Law ...
EXODUS 23:21 Beware of Him and obey His voice; do not provoke Him, for He will not pardon your transgressions;
They were ‘under Law’. And Moses broke it, therefore had to pay the penalty - death!
EXODUS 20:7 You shall not take the name of the Lord your God in vain, for the Lord will not hold him guiltless who takes His name in vain.
Mose was Gods mediator, he represented God to the children of Israel. When they saw him, they saw God. Just as when he came down from Sinai, only then he wore a veil, but not here ..
NUMBERS 20:10 And Moses and Aaron gathered the assembly together before the rock; and he said to them, “Hear now, you rebels! Must we bring water for you out of this rock?”
Moses was mis-representing God, misrepresenting his [Gods] name. A clear violation of Law.
Now, did he blame ‘Israel’ for him breaking the Law? Just like Adam blaming someone? We have these words from Moses in Deuteronomy:
3:26 “But the Lord was angry with me because of you, and he would not listen to me. ‘That’s enough!’ he declared. ‘Speak of it no more.
4:21 “But the Lord was angry with me because of you. He vowed that I would not cross the Jordan River into the good land the Lord your God is giving you as your special possession.
You could certainly argue that they played a part by constantly aggravating him.