Maybe it's because you haven't set a sales region. When publishing an app, you can choose which regions can sell your app. If you want friends in the United States to download your app, you need to at least select the United States as the sales region.
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags: