That is because they hated what Allah revealed, so He nullified their deeds.