It keeps them humble. :)
You post photos as evidence of what a dog is feeling but then castigate others for doing the same thing.
Most dogs seem to tolerate hugs in the same way a teenager does from Mom or Dad. They recognize it as an expresssion of affection and enjoy receiving it on that level, but for the dog, a treat, or for the teenager, a raise in their allowance, would be more preferable.
If they seek them out, then it’s for some other reward - could just be a scratch behind the ears - but something other than just the hug.