In the Qu'ran it says that making friends with Jews and Christians are haram:
“O you who believe! Take not the Jews and the Christians as Awliyaa’ (friends, protectors, helpers), they are but Awliyaa’ of each other. And if any amongst you takes them (as Awliyaa’), then surely, he is one of them. Verily, Allaah guides not those people who are the Zaalimoon (polytheists and wrongdoers and unjust)”
There many other verses that say this. However it also says in the Qu'ran:
“Made lawful to you this day are At‑Tayyibaat [all kinds of Halaal (lawful) foods, which Allaah has made lawful (meat of slaughtered eatable animals, milk products, fats, vegetables and fruits)]. The food (slaughtered cattle, eatable animals) of the people of the Scripture (Jews and Christians) is lawful to you and yours is lawful to them. (Lawful to you in marriage) are chaste women from the believers and chaste women from those who were given the Scripture (Jews and Christians) before your time when you have given their due Mahr (bridal-money given by the husband to his wife at the time of marriage), desiring chastity (i.e. taking them in legal wedlock) not committing illegal sexual intercourse, nor taking them as girlfriends”
So how is it that you are not allowed to make friends with them but you can marry them?