Pinging Domain doesn’t give A Record IP

Should pinging a domain give you the IP the same as the A Record? Are there conditions where it shouldn’t? A client’s website isn’t pointing to the A record IP, it’s point to a Cloudflare DNS server. I can’t redirect to HTTPS, I get a too many redirects error, I cant go to the CPanel, it’s not reading the CSS and giving me a broken page. My client’s IT support company isn’t very helpful, Any ideas?