Calcific tendinitis occurs when calcium deposits build up within a tendon, typically the rotator cuff tendons in the shoulder. The exact cause is unclear but may involve repetitive microtrauma or changes in blood flow to the tendon.