Hi sheraz609,
Regarding the alert in the screenshot you've shared, it looks like the issue is with your iPhone's Personal Hotspot. For help with the issue test the steps below found in the article here: If Personal Hotspot is not working on your iPhone or iPad (Wi-Fi + Cellular) - Apple Support
"If you can't connect to Personal Hotspot with Wi-Fi
On the device that provides Personal Hotspot, go to Settings > Personal Hotspot, then follow these steps:
- Make sure that Allow Others to Join is on.
- Remember the device's Wi-Fi network name and password that appear on this screen. If you want to change the Wi-Fi network name, learn how to change your device name.
- If you're using an iPhone 12 model or later, iPad Pro 11-inch (3rd generation or later), iPad Pro 12.9-inch (5th generation or later), or iPad mini (6th generation), turn on Maximize Compatibility.* Then try connecting your devices again to your Personal Hotspot.
- Stay on this screen until you connect your other device to the Wi-Fi network.
On the device that needs to connect to Personal Hotspot, follow these steps:
- Turn Wi-Fi off and back on.
- Make sure that you connect to the correct Wi-Fi network. The network name is the same as the iOS device that provides Personal Hotspot and the Personal Hotspot icon
might appear next to it. - If you see a password error when you try to join Personal Hotspot, check the Wi-Fi password: On the device that provides Personal Hotspot, go to Settings > Personal Hotspot to see the Wi-Fi password."
There's also helpful information and steps here: If your Mac isn't connecting to the internet over Wi-Fi - Apple Support
If the issue remains, reach out to Apple Support directly to further assist.
Contact - Official Apple Support
Contact Apple for support and service - Apple Support
Best.