this is because they acted adversely to allah and his apostle and whoever acts adversely to allah and his apostle then surely allah is severe in requiting .
ذلك بأنهم شاقوا الله ورسوله ومن يشاقق الله ورسوله فإن الله شديد العقاب