EV's require fewer assembly steps. The unions want to transition losses on the assembly lines to new jobs at battery manufacturing ops the ev builders will make. EV builders don't want to have union shops at every level.
They'd rather dump the unnecessary people and hire non-union workers instead.
Follow the money.