Cholecystitis is a redness and swelling (inflammation) of the gallbladder. It happens when bile becomes trapped and builds up in the gallbladder. In most cases this happens when solid lumps (gallstones) block the tube that drains bile from the gallbladder.