Cholecystitis is when the gallbladder gets inflamed. This usually happens when a gallstone blocks the bile duct. It can cause severe pain, nausea, and vomiting during an attack.