It doesnât seem likely that masturbation or sex can cause such abdominal pain. Masturbation usually can't pull on the ureters or the kidneys. Likewise, neither van liver or kidney cysts cause abdominal pain. Therefore the cysts canât explain the abdominal pain you describe...unless they are complicated with infection or rupture. You can consult an internist (internal medicine specialist) for an expert opinion and advice.