This is an image of an ox refusing to allow its owner to put a yoke on its shoulders. This metaphor represents the people being stubborn. AT: "became stubborn" (See: [[rc://en/ta/man/translate/figs-metaphor]])
This is an image of people putting something into their ears so they would not hear the message from Yahweh. This metaphor represents the people not being willing to hear and obey. AT: "They refused to listen" (See: [[rc://en/ta/man/translate/figs-metaphor]])
The people refusing to hear and obey Yahweh are compared to their being as unyielding as rock. Here the heart represents the will of a person. AT: "They stubbornly refused to hear the law or the words of Yahweh of hosts" (See: [[rc://en/ta/man/translate/figs-simile]])
Here the "mouth of the prophets" is a metonym for the words that the prophets speak. AT: "through the words of the prophets" (See: [[rc://en/ta/man/translate/figs-metonymy]])