The balance between the bond’s credit rating – ie its credit risk level – and its yield to maturity combine to make for an attractive investment opportunity. If the yield to maturity for a given level of risk is greater than the interest for an equivalent risk elsewhere, the bond will be sought after.