On the student lock to the PhD it may also be because students get scholarships. In my case my government gave be a scholarship to do the PhD. And at some point during the degree I pondered whether to continue, but I couldn't have stopped because I then would have to return the money I spent, which of course I didn't have. My supervisors were great. But one can imagine the pressure of having shitty supervisors on top of that.