Inflammation of the joint lining causes swelling and makes fluid build up within the joint. As the lining expands with inflammatory cells, it can produce substances that damage the bone.
All of these things cause the joint to become very painful, swollen, and warm to the touch.