Some VPN's have a kill switch to stop the internet if the VPN disconnects.
I like using it for privacy, but I remember having a similar experience & it took me a while to figure out that I had enabled the kill switch