Remember there is a big wide world outside of the US and what may seem a small dollar difference to many, that small difference could be absolutely huge in some markets and could be the difference between owning an iPhone or not.
It doesn't even need to be outside the U.S. AT&T still offers iPhone 6s and 7 to customers. Apple is clearly still producing these models new. Regardless of the region, there are low-cost customers.