Why does a program not fill sometimes?
Many reasons. Obviously there are concerning reasons like the program is known to be on probation. The ACGME website lists those programs (although it is not up to the minute), so that should be fairly easy to find out.
Programs may not fill because "word on the street" is that they are maligant, or having financial problems, are filled with FMGs (so AMGs don't apply), etc. Who knows if these are true or simply urban legend.
OTOH, programs may not fill because of administrative problems. Every year, some specialty or some program conventionally seen as competitive doesn't fill because someone:
a) forgot to turn in the program's Rank Order List (yes, it happened);
b) coded the program with the wrong number (yes, it happened);
c) because they got cocky and didn't rank enough people on their list (yes...);
d) because they would rather not fill than take an applicant they considered sub-par;
e) because there are more spots than applicants, so some programs will not fill;
f) they have applied to have one or more of the positions removed (ie, they don't need as many residents as they did formerly)
g) the program is intending to close (typically they don't accept applications when that is the case but it will show as not filling if they haven't closed out their NRMP status)
and so on.
How should an applicant use this information when considering the program? When should this be looked at as a red flag for a program???
Obviously when its because of first few reasons. If a program is on probation or in danger of losing their accredidation, they are required to tell all applicants. They must satisfy you with their plan to rectify things. Bear in mind that ACGME/RRC probation can often be for things done years ago or for administrative stuff (ie, residents not turning in their case logs on time or for paperwork not completed by the program - it does not necessarily mean the program education is bad).
If the word is that the program is unpleasant, you have to rely on rumors or word of mouth because often residents at those programs will not tell you. Checking former resident lists and seeing people quitting or leaving right and left would be a clue.
Administrative problems are going to happen anywhere so its not really a reason to avoid a program if that was the issue - presumably they will not make the same mistake twice!
Red flags would be consistently not filling in a field in which almost every program fills or is generally considered competitive. Red flags would be going to the interview and few residents show up - they are either too busy, too tired or don't care enough about their program to come meet the potential new residents.