I had a female dog that absolutely would starve herself rather than eat dog food...........Our next dog didn’t have that problem..................
Dogs, like people, can have sensitivities to all kinds of things in manufactured food. (A lot of people make their own dog or cat food for that reason.)