Question: why peggy short for margaret?
Answer: Over the years, Maggie morphed into Meggie and Meg, likely because of accents changing the vowel sound. That continued to transform into the Peggy and Peg we know today, based simply on a trend of creating nicknames that rhyme. It's the same reason we have Bill from William.