I think the logic behind it is not from Apple, but from the content people. Suppose you want to buy the video for movie ZZZ and it's available on the U.S. apple store but not in the Apple store for country XXX. If you live in country XXX, Apple may not have the rights to sell movie ZZZ in your country, which leads to the reasons Apple doesn't allow the cross-country purchases.