"The president had been pushing for my removal since the previous summer (2018)."
So ... you getting canned had nothing to do with the Ukrainian election in 2019.
Maybe our President was being nice and giving her a way out and save face but she did not want to listen!