Unable to resolve apex domain after switching to Cloudflare DNS, showing DNS_PROBE_FINISHED_NXDOMAIN
After switching to Cloudflare as your DNS server, the records are automatically fetched by Cloudflare, but it's possible that the A record for @ (apex domain) wasn't captured.

To avoid this issue, manually add a record in the DNS settings above.

Other Possible Issues
Opening apex domain shows This object could not be viewed
This situation is likely caused by selecting your apex domain (e.g., example.com) when connecting a domain after creating a storage bucket.

After deleting this storage bucket, things should return to normal. You can check the DNS modification logs here to see if Cloudflare has switched back to your IP: https://dash.cloudflare.com/redirect?account=audit-log
Reference Links
Why some domains cannot be resolved by domestic DNS
Why can't I activate even after changing to the correct nameservers?