Because if you issue new debt, you’ll have to issue it at the current YTM.
The coupon rate on existing debt tells you nothing about the cost of debt. You can issue bonds with any coupon rate you want: 2%, 5%, 10%, 50%. The YTM tells you your cost of debt, not the coupon rate.