SubDomain Redirecting To Wrong Ips

When I am not using cloud icon, i am getting redirected to right IP, as soon as I enable I start getting redirected to different Ips, Sharing the wget requests:
–2020-02-25 12:36:06--
Resolving (…
Connecting to (||:443… connected.
ERROR: cannot verify’s certificate, issued by ‘ST=California,L=San Francisco,OU=Cloudflare Origin SSL Certificate Authority,O=Cloudflare\, Inc.,C=US’:
Unable to locally verify the issuer’s authority.
To connect to insecurely, use `–no-check-certificate’.

–2020-02-25 12:29:02--
Resolving (…, 2606:4700:10::6814:ef05, 2606:4700:10::6814:ee05
Connecting to (||:443… connected.
HTTP request sent, awaiting response… 524
2020-02-25 12:32:23 ERROR 524: (no description).

This is intended. Cloudflare is a proxy and hides your origin IP.