Here’s why:
Switch online is down
Your WiFi is not working
Your device is not in close proximity to your router
Your network’s security key is not compatible