Mostly because that's how great granny taught me.
Okay. I'm guessing that people did this because they noticed that one thing preserved better than another.
A lot of the old wives tales of my great grandmother have been found to have some basis in fact.