Why are people affected by rabies show the symptoms of hydrophobia?

Misunderstanding. People affected by rabies are not actually afraid of water but their anxiety seems exaggerated by encounter with water because of dysphagia (difficulty in swallowing).