Gallstones cause your gallbladder to spasm if they get stuck traveling to your duodenum (the upper small intestine). You may feel a sharp pain in the upper right side of your abdomen. Gallstone ...