Typically bond index funds target a certain range of bond maturities, or a certain duration. If the fund manager makes an active decision to do something different then it will no longer be an index fund. For example, Vanguard's Total Bond Fund targets bonds maturing more than one year in the future. If they randomly decided to hold for longer they would be breaking from their index.
Additionally, by holding a bond to maturity, the fund is failing to buy a new bond at a higher interest rate, which over the long run will result in lower returns because of opportunity cost. If your time horizon doesn't have a particular end date, generally your bond allocation should also not have a particular end date. If you do have an end date, then purchasing a bond and holding to maturity can make sense.