The knuckles on a hammertoe often rub against the shoe. This creates painful calluses.
Occasionally, the toes are so twisted that one toe rubs against the toe next to it. This also produces painful corns or calluses.