Answer
Due to electronegativity
Work Step by Step
In $Cl_{2}$, both atoms are from same element, so there is no electronegativity difference, hence it is non-polar. In HCl, there is electronegativity difference between H and Cl, so it is polar.
You can help us out by revising, improving and updating this answer.
Update this answerAfter 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.