Google has a different algorythm than Yahoo thus the different results. I would focus on optimizing for Google since they still command most of the searches.
All Search Engines use different algorithms to see website from an SEO point of view and thus they all have different way of promoting the website by looking the link building