No it doesnt make sense.

Why do I have to respec just to keep the spells I already selected before.

Its a logical error in the very design of the rulesystem.

Again if BG3 would simply allow trading the newly selected spell, this problem could be completely avoided.