Question: why are they discontinuing the xs?
Answer: They discontinued the XS since it could affect the sales of the newer handhelds. Additionally, the iPhone XS has a lot of specifications that are close to that of the iPhone 11, and 11 Pro. This lack of truly evolutionary new features on the newer phone models would have also forced Apple to discontinue the XS.