David was upset because of Adonai’s outburst against Uzzah. That place is called Perez-uzzah to this day.
Then the anger of Adonai was kindled against Uzzah. God struck him down there for his irreverence, so that he died there beside the ark of God.
So David was frightened of Adonai that day. Then he said, “How can the ark of Adonai come to me?”
Because you were not there the first time, Adonai our God burst out upon us, for we did not seek Him regarding the prescribed way.”
But it greatly displeased Jonah and he resented it.
Then God said to Jonah, “Is it good for you to be so angry about the plant?” “It is,” he said, “I am angry enough to die!”