You can’t put headers on resources that don’t come from your own site. So those google and cloudflare URLs you cannot do anything about.
Metrics and testing systems are just that: metrics. They’re guides. They’re not reality, and you do not have to get a 100% score on them.