This is because the Iodine molecules are held together by Van Der Waals forces of attraction that cannot be broken by the heat energy provided at room temperature
Iodine is solid at room temperature.
Iodine is a solid at room temperature because at 114 degrees Celsius it turns into a liquid! :)