No internet when using public DNS on Android

I’m using android Marshmello version,
Here is the test result, after changing from DHCP to static IP for cloud flare DNS on my WiFi settings, I’m getting no internet, why I’m unable to use public DNS?

Is it just for Cloudflare or can you not connect to another public resolver (i.e.

Can’t connect to any public DNS

Sounds like is being blocked. I would check with your ISP and if it is then use DoH.