Safari is a browser that you can access on your iPhone, and websites using the said browser let it access your location services to know where you are.
You can turn off these prompts on your iPhone and iPad, and you can even prevent Safari from accessing location service as well.
Disabling Location Request in Safari on Your iPhone
To start, open Settings on your iPhone or iPad and scroll down to choose “Safari.” After, scroll down until you see the “Settings For Websites” section and choose “Location.” Once you’re down, choose “Deny.”