If the bond defaults, it may lose everything, but the bond fund itself has low returns. This part of the loss is undoubtedly very difficult to earn back with other principal, so bond funds are not sure to make a loss.
Interest rates also have a certain impact on bond funds, but they are all short-term.