Then He said: "You have only taken idols instead of Allah out of affection between you in the life of this world." That is: you love one another for the sake of worshipping idols in the life of this world.
Muhammad said: "Mawaddatan" (affection) is in the accusative case, meaning: you have taken this for the sake of affection. "Then on the Day of Resurrection, you will deny one another." That is: some of you will disavow others.