Spasms, cramps, and pains in the anal area, abdomen, and pelvic floor muscles could be due to constipation, menstruation, irritable bowel syndrome (IBS), or several other different conditions. Reach out to your healthcare practitioner for an accurate diagnosis.