A brown dog is pulling itself out of the water onto some rocks with a tennis ball in its mouth .