Get your taxes done using TurboTax

My total amount of foreign income is $5300 so above the $5K you mentioned. However, all the investment income expense comes from US investments.  Why would it need to calculate how much is allocated to foreign versus US investments in this case? Or am I missing your point?