I believe 50 moves rules is the same. But in that case, one player is more interested in the draw than the other. In the case of repetition, both players are avoiding a move that gives the other the advantage. It's not so much a mandatory or not question, but if one of them is more willing to try a different move than to draw.