I think it’s instructive how many people equate their own local experience(s) with “The Church”.
Those whose local units are wonderful, warm, spiritual places often have a hard time understanding those who leave, while those who live in areas with major problems of various kinds (or one overwhelming problem) often struggle to understand those who stay – since both often project their experiences as representative of “The Church”.
We really do have two distinct churches within the LDS Church – the global one and the local one.
I dare say more people leave because of the local one than the global one – and I dare say many of the things that many members see as global issues really are examples of the global water not getting to the end of the local row.
Of course, there are global leadership issues that cause some to leave – but a local ward, branch and/or stake that functions like it’s supposed to function often is one of the prime reasons why many people stay, even when there are some "big issues" with which they struggle.