In the cited Peshitta text for Dt, the original context clearly refers to gashing oneself. Later interpreters, however, understood it to mean "to behave like a wild ass": see the cited IshDeut 136:9 passage and the note of van Den Eynde in vol. 2 p. 183.