Does wearing spandex cause pimples on covered areas?

Yes if sensitive. Yes if you are sensitive to one of the materials or if you do not allow the skin to adequately "breathe". Consider other compression garments that permit sweat to evaporate and also avoid the use of occlusive moisturizing agents.