There can be many Reasons behind Yahoo email password recovery.
To recover your Yahoo mail password you need to follow the given steps:
Login to your Yahoo mail account.
Enter your username
Choose the recovery option.
Respective Verify your number or email id with the code you receive
Create a password
If you want more detailed information you can take help from this informative link;