BV???

So i went to the doctors and got treated for a yeast infection and the itching has gone away but i have some discharge that now has kind of a foul odor. but i also have a uti that my doctor believes traveled to my kidneys. so could it have possibly turned into bv or could it be from the uti?