Internal energy = KE + PE
If the temperature of an object rises, it will have more kinetic energy.
Therefore, The internal energy must rise.
However, if the internal energy rise, temperature may not necessarily increase. (since Internal energy = KE+PE) . A rise in PE will also lead to an increase in internal energy.