It’s not a religious thing, it’s a geographic thing. Wild dogs are a serious problem in some areas, and whether or not dogs are viewed as common pets varies wildly. To pick one example, a mere 16 million homes in India have a dog, and that is up a lot over the past decade. Compare that to the 63 million homes with dogs in the US, a much smaller country by population.