It's because each degree of freedom stores kT/2 as a mean, and translations in space bring 3 degrees of freedom.
For a more detailed answer, equipartition and the like, sure.
3/2 is only for translations. If your gas molecules have several atoms, they can rotate, and as the rotations store energy, the internal energy exceeds (3/2)*kT, by again kT/2 for each degree of freedom.
Some exceptions:
- When a degree of freedom is grossly quantified, it stores little energy until the temperature is high enough. For instance N2 (stiff) and H2 (light) store no vibrational energy at room temperature, but Br2 and CO2 do.
- Each vibration mode stores kT instead of kT/2. That's because in the vibration, the speed stores kT/2 to put itself in equilibrium with the translations, and so does the elastic energy store kT/2, summing to kT.