no one except google know the details,but we all know the ranking depend on the content and backlinks of your website.
By analyzing how pages link to each other, a search engine can both determine what a page is about and whether that page is deemed to be "important" and thus deserving of a ranking boost.