How does moving money around change property from separate to marital?

This is done through a doctrine in the law called "transmutation." A court essentially says that no matter what you say, by your actions you have treated this money as joint property. Therefore, it’s joint property or marital property.