State tax filing

One possibility is that the state did not receive the employer's copy of the W-2(s), or perhaps not the monies themselves.  Or someone else claimed the same dependent as you did.  Going forward, you change your withholding so that you do not have to wait for a refund at tax time.