The four amounts, and what separates them.
A non-qualified stock option. The bargain element is the market value of the shares on the exercise date minus the exercise price. It is ordinary compensation, it is wages for Social Security and Medicare purposes, and the employer withholds on it. Of the four, this is the route where the amount most obviously behaves like a paycheck, and the withholding is the tell.
An incentive stock option. The arithmetic is identical, and the result is not. Exercising a statutory option produces no ordinary income for the regular income tax and nothing is withheld. The same spread is instead an adjustment in computing the alternative minimum tax for the year of exercise, which is a separate calculation with its own basis and its own credit machinery. Calling that amount "taxed" is the single most common error in this territory, and it is wrong in a way that matters, because the exposure is contingent on a calculation the employee has probably never run.
An employee stock purchase plan. Here the measurement date moves. The bargain element is fixed on the purchase date: market value at purchase minus the discounted price actually paid. Nothing is withheld then either. Whether that amount ever becomes ordinary income depends on when the shares are sold. Sell too early and the full purchase-date bargain element is ordinary income in the year of the sale. Hold long enough and a different, generally smaller statutory amount is used instead.
Restricted property under section 83. For shares actually issued to an employee and subject to forfeiture, the includible amount is market value minus what the employee paid, measured when the property becomes substantially vested, or at transfer if the employee makes a section 83(b) election. It is ordinary compensation and the employer withholds on it, like the non-qualified option. What is unusual here is the date: the same phrase can refer to an amount fixed years apart depending on one election filed within thirty days.
Three questions finish the job. Which instrument produced the shares. On what date was the value measured. And was anything withheld, because the two statutory routes, the incentive stock option and the qualified purchase plan, carry no withholding at all, and an unwithheld amount is a tax bill that arrives without warning at filing time.
A related trap sits in the cost basis. Where a bargain element has been taxed as ordinary income, it has already been paid for once and belongs in the share basis. A broker's Form 1099-B frequently reports only the cash the employee paid, and a return prepared straight from it taxes the same dollars twice.