To understand this better, we should consider the context. Jews were one of many sects of that time period, each attempting to establish its authority. Gentiles were almost always in power politically and nationally. They were often cruel to the Jews in their lands but sometimes benevolent. Jews were very suspicious of Gentiles - they were seen as threats.
Further, the Torah dictated different laws for Jews and Gentiles, men and women, children and adults, neighbours and family members. Of course Gentiles would be treated differently from Jews.
Today's post-modern sensibilities do not allow for the essentialism that our daf describes. It is not comfortable or easy to read. But it is helpful toward understanding the realities of our ancestors' lives.