Employee Stock

Hello,

I sold some stock last year that was awarded to me by my employer.    How come I only pay taxes on the gain and not the amount that I received?

Thank you.