Hosts usually lie about stuff like this. Show them a picture of your DNS records here and ask them if they are correct.
A 522 error typically happens when Cloudflare requests to the origin (your webserver) get blocked. Review the suggestions in this Community Tip for troubleshooting ideas.