50% of students who begin a Ph.D. program don't finish, why?

50% of students who begin a Ph.D. program don’t finish. Why? And how can you make sure you succeed?