Fluorine is highly electronegative, leading to strong intermolecular hydrogen bonding in HF. This strong attraction between HF molecules requires more energy to overcome, making it a liquid at room temperature, while HCl (with weaker dipole-dipole forces) is a gas.