Styes typically form due to bacterial infection around an oil gland within an eyelash follicle. Irritation from pollutants such as dust particles or foreign body entrapped inside the conjunctiva lining under above mentioned structures elicits swelling response leading development of pimple kind of bump.