Hugging or standing over some dogs is seen as an aggressive action. Someone that has a close relationship to the dog might get a pass, but someone less familiar will get a growl or worse.
How old is your dog now?
Agree they see it as trying too dominate! Bill