Also, the very first Brazilian constitution had an article about moving the capital to a more geographically centered place, a plan that was developed while Brazil was an empire [2]. One could argue that the move was simply a matter of fulfilling this constitution article.
Another reason could be that the Rio and São Paulo areas are full of mountain chains and make the task of building a new city quite difficult.
Yet another reason is that building the capital in the São Paulo state or Minas Gerais state would bring back old political rivalries (Brazil was controlled by politicians by these states for decades [3]). Same for the surrounding states. Hence, moving it to a more neutral area.
Anyway, hard to pinpoint one specific reason. The city is interesting, though, with nice people trying to define their own cultural aspects. Unfortunately, most Brazilians have never visited it.
[1] https://upload.wikimedia.org/wikipedia/commons/7/79/Esplanad...
[2] https://en.wikipedia.org/wiki/Bras%C3%ADlia#Background
[3] https://en.wikipedia.org/wiki/Caf%C3%A9_com_leite_politics
They don't have many nice things to say about it.