Donald Trump is fighting for the election. It appears that the strategy is that he is aware that he cannot win if states certify the results of the voters. If he is able to keep the result in doubt, then he may be able to stop the presidency being awarded to Joe Biden when the Electoral College meets. If this happens, then the decision as to who is to be president is made in the US House of Representatives, there the Republicans have a lead.
I am sure that this is the justification for not working towards a peaceful transition of power. But to be fair, Trump never said he would allow this anyway.
If Trump does get away with this, it means that the legitimacy of the US to comment on the democratic processes in other nations will be harmed further. I say further, as the US does have a history of ignoring the democratic will of other nations electorates.