> There is a remarkable difference
Yes, there are many differences between the domestication of cats and dogs, but not in any fundamental degree. Humans shaped these animals over time, albeit in different ways. The same is true for other forms of domestication, like cows, sheep, bananas, and wheat etc. Saying one is "smarter" than the other is silly. It's more that humans have selected and bread them for different traits.