Dogs and tennis balls seem to go together like peanut butter and jelly. But the truth is more complicated.