Ok, very weird one.
I have 25 freighters sitting on my planet. I create a new fleet. Try to transfer 25. Only 20 get transfered. Trying to transfer more fails.
I unload the 20 back on the planet, and try to transfer 25 again. This time, only 19 are transfered.
Tried again, now down to 18.