Tendinitis is a common condition that causes swelling around muscles and bones. It happens most often in the shoulders, elbows, knees, hips, heels or wrists.