Anywhere that rabies is rife, Mideast, Africa, South Asia, people will be wary of dogs.
OTOH Muhammed liked cats and they can carry rabies, so a pure socio-biological explanation doesn’t fly.
Koreans eat them. What’s the difference?