How is it that after filing for moving expenses our return has jumped from 2,000 to over 9,000? This can not possibly be correct, what am I missing here?

Our moving expenses included such fees such as 20,000 in commission to our relators, 2500 in legal fees, and a 1200 penalty to our bank for prepaying the mortgage before end of term. I still do not feel like this would warrant a almost 7,000 return? I have correctly input all the fees and put that against my husbands net income for the job he moved for, the moving expenses are obviously less than his income, and therefore seem to be what they are using as the deduction. How?!