This condition is caused by staph bacteria, which is commonly found on the skin. Some dogs will grow pimples and have infected hair follicles when the immune system is stressed. Where hair is present, the lesions can look like hives; but like ringworm on areas without hair.