Elections are the responsibility of the states under some regulation by the federal government. However, the federal regulation for elections is a lot more hands off than other cases of federalism, with agencies like the FEC specifically designed not to report to the President.
Trump’s lawyers are trying to claim that the President is responsible to get Presidential immunity for his actions, but the argument is pretty crap.