For me (and a lot of people) is due to excessive posterior chain stiffness. The cure in the acute phase was rest (from physical activities, running in particular) and stretching, initially under physio supervision. Be careful because it can break suddenly (with a loud bang, literally) and the recover from surgery is very long. It is not limited to elderly people, a collegue of mine broke it two years ago at 33.