this is because they said to those who hate what allah has sent down we will obey you in part of the matter but allah knows their secrets.
ذلك بأنهم قالوا للذين كرهوا ما نزل الله سنطيعكم في بعض الأمر والله يعلم إسرارهم