The question Why do US officers sometimes stamp non-US passports? was closed as a duplicate of the question When entering the United States as a permanent resident and with Global Entry, does the US immigration agent stamp one's passport?.
The first question asked why the US officers may stamp the passport, whereas the second (and older) question asked whether the US officers stamp the passport. And unsurprisingly, none of the two answers for When entering the United States as a permanent resident and with Global Entry, does the US immigration agent stamp one's passport? addressed the question of why the US officers may stamp the passport.
Why was the question Why do US officers sometimes stamp non-US passports? closed as a duplicate of When entering the United States as a permanent resident and with Global Entry, does the US immigration agent stamp one's passport?, since it appears not to be a duplicate?
Notes:
- There are plenty of why-questions on this website.
- Regarding the two questions discussed in this meta question, the answers on the whether question doesn't address the why, therefore the why-question is clearly distinct.