The phrase to differ with implies disagreement. And that is just the problem. Metal alloys are inanimate objects, and inanimate objects can neither agree nor disagree. The acts of agreement and disagreement are choices which only living organisms with the capacity for choice can make. For this reason, writers use to differ with imprecisely when applying that phrase to inanimate objects.
However, inanimate objects can differ from one another in terms of characteristics. This is the sense that the example sentence in the image above conveys. Thus, the more appropriate expression would be as follows: