Temperature is defined as the average kinetic energy, but gases have more kinetic energy than liquids, which have more kinetic energy than solids. So if you have a solid, liquid, and gas at the same temperature, are they going to have the same kinetic energy because they're at the same temperature, or will the gas still have the most kinetic energy?