Probably because the headphone port is damaged. When the phone's headphone socket is damaged, it will cause the phone to show that only digital audio devices are supported after the phone is inserted. It is necessary to check whether the headphones are damaged, and it is not necessary to go to the relevant shop for mobile phone repair.