The primary cause of a Bartholin cyst is the blockage of the gland's duct. This blockage can be due to various reasons, including infections, inflammation, or trauma to the area. Sometimes, sexually transmitted infections (STIs) like gonorrhea or chlamydia can lead to the formation of these cysts.