The message can happen because of technical glitches, you have changed the security key in the router, or driver or configuration problems.
There will be times, if it didn’t happen already, when your computer will connect to the wireless network, but it won’t connect to the internet, and you’ll see a “Limited Connectivity” message in the wireless network settings in your PC or Surface tablet.