Why should I exercise my finger after an injury?

Prevent restriction. Exercising the finger after an injury (specifically range of motion exercises) helps to prevent joint restriction (i.e. "frozen joint").
Preserve function. To prevent contracture of the tendons and joints of the finger and maintain flexibility and ranges of motion. Keeping full function of the hand is very important. Please listen to your doctor and do your exercises.