Because they burned incense to worship idols and sinned against Yahweh, and because they would not listen to him.