Osteoarthritis occurs when the cartilage of a joint erodes (breaks down). Bones begin to rub against each other, causing pain and difficulty moving the joint. Osteoarthritis also can affect nearby bones, which can become enlarged in places. These enlargements are called bone spurs or osteophytes.