This can be caused by a number of things, and should be evaluated by a urologist.
Stones in the ureter, bladder outlet obstruction with
ureteral reflux, a mass in the pelvis causing obstruction of the ureter, etc. If infection was causing the dilation one would expect a urinalysis with culture to be positive. In absence of infection other causes need to be ruled out.