I'll hazard a possible explanation. The company I retired from paid us every 2 weeks. If for example, the pay period was split by New Year's day, the amounts would only reflect what was actually paid in the year before. Since the actual date on the check was in the New Year, it went on that years W-2.