I think this might be an issue with how GoDaddy handle redirections, https://stackoverflow.com/questions/66708922/azure-web-app-godaddy-redirect-www-to-non-www
There's a few other options here perhaps.
- Use Azure DNS to host your DNS zone, i.e. change the nameservers to Azure
- Handle the redirection another way. I had to do this recently for a customer and here's how I managed it - https://azurealan.ie/2021/08/20/how-to-use-root-domains-with-azure-front-door/