Divergent is successful because it happened to come out right during Hunger Games mania and that it has a built in marketing plan - WHAT FACTION ARE YOU?!

And Amanda Hocking is popular because of a low price point and quantity over quality. She can crank books out like it's nobody's business.