God did this so that the bloody violence committed against Jerubbaal’s 70 sons would happen to Abimelech and citizens of Shechem. Citizens of Shechem had helped Abimelech execute his brothers.