If the stock that was sold was already in my W-2 why does it show up again as income

when I imported the information from when I sold stock it was already part of my w-2 why do I pay again