The causes of vaginismus can be both physical and psychological. Physical causes may include infections, pelvic surgery, or conditions like endometriosis. Psychological factors can involve past trauma, anxiety, or negative sexual experiences. Often, the condition is a combination of both physical and psychological elements.