Genital Warts

I suffered with genital warts for almost a year. Back and forward from the clinic for cream top ups. It’s aggravating cause I don’t know who gave it to who.. me or my partner? Anyway I know that a lot of people carry the same but aren’t aware or don’t know yet! My doctor told me I have it for life..

My partner had it too, his is all cleared up now and has done for a long long time. I still was treating mine and we still have sex regardless but he never caught it again unless his body isn’t immune to it anymore? I have found out mines disappeared too without treatment and haven’t seen it come back since? All clear..

Can someone tell me why this is? We both stopped using treatment and went away on its own?