The account has checked various statuses, whether it is https://developer.apple.com/ or https://appstoreconnect.apple.com/ or Developer's app, all are normal and can log in.
However, I can't log in in Xcode, as long as I log in, it will prompt "Your session has expired, please login".
Finally I solved it:
All of your development team accounts have expired, and you should exit the expired development team first.
You need the non-expired developer team you are in, and enter the appstoreconnect to modify the identity of your account (guess that the account status will be refreshed in the Apple background).
You will find that Xcode can be logged in.