TRT and Kidney Function

Been on TRT for 4 years had to have surgery in December for diverticulitis and then the other day to remove gallbladder. Both times they checked my blood and said my kidney function test came back elevated. I have noticed my sweat smelling like ammonia lately. I was wondering if the T might cause this or maybe from infections in my gut. Has anyone heard of T causing kidney problems?