Muhammad • EN-TAFSIR-IBN-ABBAS
﴿ ذَٰلِكَ بِأَنَّهُمْ كَرِهُوا۟ مَآ أَنزَلَ ٱللَّهُ فَأَحْبَطَ أَعْمَٰلَهُمْ ﴾
“this, because they hate [the very thought of] what God has bestowed from on high and thus He causes all their deeds to come to nought!”
(That) thwarting (is because they are averse to) they deny (that which Allah hath revealed) that which Allah has sent Gabriel with to Muhammad (pbuh) (therefore maketh He their action fruitless) therefore He thwarts their good deeds and spending at Badr.