This difference is due to hydrogen bonding.
Work Step by Step
HF has hydrogen bonding while HCl does not. While HCl is polar and has dipole-dipole interactions, these are not nearly as strong as hydrogen bonds.
You can help us out by revising, improving and updating this answer.Update this answer
After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.