Listening to or paying attention to someone is spoken of as if it were turning one's ears to someone. AT: "Pay attention" (See: [[rc://en/ta/man/translate/figs-metaphor]])
Possible meanings are 1) this refers to what Yahweh did for King David in the past or 2) it refers to what God will do through one of David's descendants.