Eli,
If you can give us all of the facts we may be able to solve the mystery. Pension income, for example, is considered earned income if it's due to disability (code 3, box 7) AND the taxpayer is below minimum retirement age (there is a box to check there).
taxbilly