All I can say is something happened after they partook of the fruit. Afterwords they suddenly realized they were naked and they didn't seem to realize that before.
the only thing that changed was the source of their knowledge. Prior to eating they knew that it was bad to eat the fruit and good to be naked because God had told them so. But afterward
they decided it would be good to eat the fruit, its bad to be naked.
they were no longer listening to God. They were no longer dependent on him for answers...they created their own knowledge.
You may have heard Jesus words at Matthew 4:4
‘Man must live, not on bread alone..."
The rest of the sentence is pertinent to our discussion...he went on to say
"but on every utterance coming forth through Jehovah’s mouth"
Adam and Eve stopped living according to
'every utterance coming forth from Jehovahs mouth" and they died. Thats why we can't live without Gods word...only by obedience will we live.