Spot rate is derived from zero-coupon bonds or strip Treasuries. If they don’t have a coupon payment then the vlaue of the bond is the adjusted return of the principal or a T-bill which the yield is discounted in the price of the bond.
When there is YTM without a discount to the price vs par, it implies there is a coupon component.