Dogs Paw Because it Works.
Dogs repeat actions when those actions gain the dog a desired response.
Your dog wants some attention so he paws at your arm.
Not even thinking about it, you reach down and rub behind your dog's ears or give him a tummy rub.