When you set the DNS to this is perfectly normal. The connection from the user go to Cloudflare, and then Cloudflare go to your origin.
You probably have a firewall in place on your Origin, as Cloudflare cannot connect to your origin, which is why you are getting the 521 error. Check out the related CommunityTip