If the nails get too long, they can curve over and grow into the foot pad.
Uncut nails can also split down to the quick (this is what bleeds when you cut the nail too short), causing pain, infection, and other issues.
Keeping a dog's nails the proper length is a critical part of keeping a dog healthy and out of pain.