Players are only willing to extend their expiring contract in the last year of their contract (term = 0). There are various cases in which a contract extension is not possible:
A) The player has announced the end of his career
B) The player has critical morale
C) The player has decided not to extend his contract. In this case, he announces this in good time.
Note: You can use the rare item "persuade" to get a player who has decided not to extend his contract to extend it after all.