An investigation is underway to find out why 13 dogs have died after walking down the same path in North Yorkshire.