CAS Loop Pattern

Why do lock-free algorithms typically use compare-and-swap (CAS) in a retry loop rather than a single CAS attempt?