TL;DR -
In underdeveloped countries with high discrepancies, it's usually because of war and/or terrible labor conditions.
In developed countries with low discrepancies, it's usually because of less proactive healthcare, more high-risk behavior, and natural factors.