The swap doesn’t change your chances, it’s the host opening one of two other doors that changes your chances. Because the host can open one of two other doors, there are two configurations in which swapping will result in a win but one where not swapping will win.