This is a connectivity issue which you can easily resolve it from https://babasupport.org/apple/iphone-error-4005/ and you can also learn some troubleshooting techniques about it from there.