Hello applekid999,
Thanks for restarting your iPhone, as that can solve many unexpected behaviors like this. Since the issue persists, let's have you try the steps in this support article: If you can't connect to the App Store, iTunes Store, or other Apple services. It is not exactly what is happening, but these troubleshooting steps can resolve your issue as well. Follow this guidance:
"Check the system status page
- Find out if there’s an outage for a service in your country or region.
Check Apple’s System Status page
Make sure that your device is connected to the internet
- Use any web browser to connect to any website. If nothing loads, use another device on the same network to see if it can connect to any website. If no other devices can access the internet, turn off your Wi-Fi router, then turn it on again to reset it. If you still can’t connect to your Wi-Fi network, contact your internet provider for more help. If only your first device can’t connect to the internet, get help with Wi-Fi on your iPhone or iPad, Apple Watch, Apple TV, or Mac.
- If you use cellular service to connect to the internet on your iPhone or iPad, make sure that you have cellular data turned on for the app that you're using. To do this, open the Settings app, tap Cellular, then turn on Cellular Data.
Update your software
Check the date and time
- Make sure that the date and time on your device are set correctly for your time zone. If the date and time are incorrect, update them or turn on the option to set date and time automatically.
- On your iPhone or iPad: Open the Settings app. Tap General, then tap Date & Time. Get more help with date and time.
- On your Mac: Open System Settings, click General, then click Date & Time. Or open System Preferences, then choose Date & Time.
- On your Apple TV: Go to Settings > General > Date and Time."
Let us know if we can help with anything else at all or if this doesn't settle your issue so we can look into this further with you. Thanks and have a fabulous day!