Because they have talent or are lucky. But usually both play a role. Some famous authors were not very successful when they first started publishing books. However, they learned from their mistakes and became better writers over time. Today, they're recognized as some of the greatest authors in history. Other authors were once famous but lost their reputation when they did something wrong or ignored warning signs that their work was going bad.