Deductions & credits

Why? the $30,000 is not his income.