Text this: Why some developing nations lure more private investment.