Bloating occurs when the stomach feels tight and full. This often results from the buildup of gas somewhere along the digestive tract. Bloating makes the abdomen appear larger than normal and can hurt or be painful. Swelling is a side effect of water retention in the body.