My w-2 states that i made the same amount of money in 2 states, i only work out of state and live in another. is this normal

MA is trying to charge me $1600 when I dont work there I only live there, because my w-2 states I made the same amount of money in 2 states, but it says that the total income I made is also the same amount