Sometimes, when they hit a milestone age like 40 or 50, they start to question stuff. They realize that they are responsible for a family, a career, etc. And they think that they will not ever have total freedom again. They are getting older and their mortality is hitting them.
Now, for healthy men, those ages give them pause but they are able to handle it appropriately. But for those who have issues from childhood or issues not properly dealt with, they go into crisis.
As far as the ow, the general length of these affairs are commonly between 18 and 24 months. Of course, that is a broad generality.