A dog’s tail wags because she knows that, in a Universe that is unfathomably endless, on a planet that floats in space just the right distance away from the sun, so that there is a proliferation of grass and birds and squirrels and food and scents and people like you; that, however it was managed, your souls have landed in this place and time in this outrageous physical form, with all of its fleeting pain and pleasure, creating such joy that a body can barely contain its energy, which must be released through the most convenient conduit, which is of course, the tail.
And since the law of science says that energy can be neither created nor destroyed, when your time together in this place is done, all you have to do is position yourself at the tail end of the joy you co-created, then breathe it back into your chest where it originated, and where it will always remain.