We often use
must for more personal opinions about what it is necessary to do, and
have to for what somebody in authority has said it is necessary to do.
I must remember to get a present for Daisy. (my opinion)
You have to look after their hair regularly. (dog experts say so)
Do you have to wear a tie for school? (asking about school rules)