Styes are bacterial infections of the eyelid. While not typically contagious to dogs, transmission is theoretically possible through direct contact, such as a dog licking an infected human eye. This is rare.
Styes in dogs are generally mild and self-limited, but veterinary diagnosis and treatment are recommended if one develops.