Knowledge neglected
The Arabs had lost the original teachings of Ibrahim (as) however the Jewish tribes of Arabia around Yathrib did have scriptures which included the teachings of Musa (as) and Ibrahim (as).
The opportunity was therefore present for the people addressed in these verses to have enquired from the Jews regarding the scriptures. This indicates that they had no desire to do that and made no effort.
These verses 36 and 37 are indicating to their lack of knowledge being based on them not wanting to know.
In addition, the Qur’an which they turned away from has preserved the legacies and guidance of Musa (as) and Ibrahim (as).