David became angry because the Lord had punished Uzzah in his anger. So even today that place is called the Punishment of Uzzah.