While changing configuration to address the deprecation of Dynamic DNS in Google Domains October 2023 announcement, I changed the nameservers in Google Domains for my .org and .com domains to point to my new Cloudflare account.
Then, I unlocked and transferred the domains from Google Domains to Cloudflare. I then added A records for my IP address so I could access it via additional subdomain names, but they didn't work. Having read a blog, it seems that I should have disabled DNSSEC in Google Domains before transferring the domains.
I've since turned on DNSSEC in Cloudflare, but now I don't know how to resolve this problem, because the Cloudflare documentation simply says "don't do it that way" but doesn't give advice on how to solve the situation.