In the early phases of a hammertoe, the joint of the toe bends, but can be straightened with little difficulty.  As the years progress, the toe may reach a point where it does not straighten.  At this point, without the previous flexibility, the joint can rub against a shoe making it uncomfortable.