State tax filing

Usually that amount comes from what was entered in your federal return for W-2 income. Check that the state entry lines on your W-2s are entered correctly (with the correct amounts indicated as MA wages).