Sold zero-coupon Treasury bills before maturity

In 2023, we sold some zero-coupon Treasury bills prior to maturity. Since we sold them in the secondary market prior to maturity for more than we had paid for them, shouldn't the entire gain be classified as a short-term capital gain? For some reason, our 1099 says the entire gain is interest income. Is this accurate? Thanks.