The reason behind this could be the firewall or your antivirus program. Their main priority is to protect your device from harmful sites. So when they encounter a suspicious site, they block the internet so you cannot access the website.