Afflict focuses more on the trouble and distress it causes the person or animal.
Inflict focuses on the punishment or condition of the person or animal.
- Travel sickness afflicts more than one-third of passengers.
- If Peter is such a good man why does he inflict so much pain on his wife?
(Peter gives his wife pain.)