It's usually because the program is not accepting residents, but the program remains listed by the AOA.
Also, don't pay much attention to the numbers the AOA lists in the Opportunities directory -- they're wrong. For instance, the information for our program is completely incorrect: we have 10 interns and 20 residents. However, the Opportunities site lists us as having 11 interns and 12 residents.