The trusted number was removed from the account , you can add another trusted number from the device , get it verified ( the last step would be click on done to save the settings ) .
See the details in the article Use two-factor authentication for your Apple ID on iPhone - Apple Support
Add or remove a trusted phone number
Adding trusted phone numbers can be useful if you want to use two-factor authentication but don’t have access to the phone number you added when you turned it on.
- Go to Settings
> [your name] > Sign-In & Security, then tap Two-Factor Authentication. - Tap Edit (above the list of trusted phone numbers), then enter your device passcode when prompted.
- Do one of the following:
- Add a number: Tap Add a Trusted Phone Number, then enter the phone number.
- When you’re finished making changes, tap Done.
Trusted phone numbers don’t automatically receive verification codes. If you can’t access any trusted devices when setting up a new device for two-factor authentication, tap “Didn’t get a verification code?” on the new device, then choose one of your trusted phone numbers to receive the verification code.