A federal judge ruled in favor of 20 states, finding that the administration unlawfully suspended funding for the expansion of EV infrastructure.