Tafsir Ibn Kathir -> Surah Al-Baqarah -> The Jews abandoned the Book of Allah and practiced Magic

As-Suddi commented on,

﴿وَلَمَّا جَآءَهُمْ رَسُولٌ مِّنْ عِندِ اللَّهِ مُصَدِّقٌ لِّمَا مَعَهُمْ﴾

(And when there came to them a Messenger from Allah (i.e. Muhammad ) confirming what was with them), "When Muhammad came to them, they wanted to contradict and dispute with him using the Tawrah. However, the Tawrah and the Qur'an affirmed each other. So the Jews gave up on using the Torah, and took to the Book of Asaf, and the magic of Harut and Marut, which indeed did not conform to the Qur'an. Hence Allah's statement,

﴿كَأَنَّهُمْ لاَ يَعْلَمُونَ﴾

(As if they did not know!).''

Also, Qatadah said that Allah's statement,

﴿كَأَنَّهُمْ لاَ يَعْلَمُونَ﴾

(As if they did not know!) means, "They knew the truth but abandoned it, hid it and denied the fact that they even had it.''