Imported from the Apple Support Forums via the Wayback Machine 🔗
It could be a hardware failure and, since your XS is brand new / still on warranty, I would have it inspected at your most conveient Apple Store or Authorized Service provider. They'll give you all the available options: