Researchers have put forward two possible reasons why dogs wag their tails.