@hoader292 When you login to a page, you keep that way in that browser and on that computer until you manually logoff or some site policy kicks you out.
So what probably happened is that you logged in to Yahoo in your desktop and never logged out and that's why you are remembered.
If you enable Sync in both your desktop and your phone, they should be able to share saved passwords.