The correlation is based on the personal responsibilty, in both cases, of the owner.
Whether one thing can move or not only changes the methods of exercising responsible ownership,
not the fact that responsible ownership is required in both cases.
Except that a dog, for reasons innate, can and do take action that a gun cannot... ever.