God made the perfect garden of Eden uncorrupted. Adam and Eve did something wrong by eating the forbidden fruit. Then, they realized that they were naked.
Genesis 3:7a
Then the eyes of both of them were opened, and they realized they were naked
Centuries later, sin was rampant. God decided to reset the earth by a flood by killing all mankind except Noah's family. They came out of the ark to a cleansed earth. Then they did something wrong.
Genesis 9:20 Now Noah, a man of the soil, proceeded to plant a vineyard. 21But when he drank some of its wine, he became drunk and uncovered himself inside his tent. 22 And Ham, the father of Canaan, saw his father’s nakedness and told his two brothers outside.
Again, the immediate consequence was nakedness. Coincidence? Is there a significance for this?