“You’re Being Tracked, and Hackers Loom,” The Wall Street Journal, March 5, 2018 B1. If an app can track your location, the app can sell that data to others. This explains why the ads you get are context-appropriate.
Who owns the data of where you are? Who get’s paid for selling it? Is there a connection between the two?
If you wanted to share information with an app for your own convenience (like knowing what the local weather is), are you agreeing to receive ads from nearby merchants? Do you know you’re making this bargain? Do you read the terms and conditions?