I created a sitemap using rankmath plugin when i added that sitemap url to the search console it shows couldn't fetct error then i used URL Inspection tool to check my sitemap It show url is not on google. After live test It shows 'noindex' detected in 'X-Robots-Tag' http header.
check this image to view issue

I want to fix this issue. If anybody know how to fix x-robots noinex tag from response header of sitemap please hrlp to fix it.