Here you can look up the algorithm. But I think it's what gets the clicks and upvotes, that gets promoted.
So. It's a community thing, I guess.