In the expression U = Vit, voltage V and current i are variables for a given time interval. So, based on this expression we cannot say that U is proportional to i. In the expression U = i2Rt, the resistance R is fixed for a circuit for a given time interval. So, based on this expression, we can say that U is proportional to i2 and not i.