My guess is somehow you enabled SSL in the domains of your hosting account and added the domain as https:// but then also added a redirect for it through either cloudflare or .htaccess which would cause it to go into a loop. I add my domain without the 's' in http and then redirect it with htaccess to avoid that