Probably because by that age, if you don’t feel that you really fit in there in terms of a sense of purpose and belonging, you are not going to find it there in organized religion.
There comes a point when you have had enough of being an outcast never good enough that no one has any need for other than bank account contents.
The ones that are leaving are likely those that have been perennially passed over in terms of never having been allowed positions and the affection of the opposite sex.