I had this issue until I created and signed into a Sandbox account that I created in App Store Connect. I had never done this prior, so I think my actual Apple ID was being used in the sandbox setting with weird behaviors like this.
I followed this doc: https://developer.apple.com/help/app-store-connect/test-in-app-purchases/manage-sandbox-apple-account-settings/
Topic:
App & System Services
SubTopic:
StoreKit
Tags: