I did ask the OP.
And your guess would be wrong because the indictment specifically says that Trump had the right to challenge the election through all legal means. The prosecutor, Jack Smith, agrees that Trump has the right to challenge the results, the election, and even to lie about the results of the election.
So, he hasn't been indicted for challenging the 2020 election or even lying about it.