Its a security issue
Yahoo does not like the default app for security reasons
You have 2 options
1 is to go into your Yahoo account and check the box to allow the app with low security
2 Is to download the Yahoo app on your new device from 'Play Store'