The U.S. is somewhat of an outlier here, e.g. Norway has signifcantly higher per capita income and 75% Android/ 20% iOS market share.
I guess this has more to do with the way mobile phone contracts work in the U.S. AFAIK in the U.S. the real handset cost is hidden behind monthly rates, so most consumers didn't see they paid $700+ for their iPhone. In many other countries (including Norway) consumers have the choice to select handset and contract separately.