First shame, then fear.  These effects of sin were known first in the human race by Adam and Eve when they chose their own desire over the wisdom of their creator.  Their fear drove them away from God, but God continued to pursue them, as He had done all along.  This God can pursue us as well in our sin when He seeks to trade our right fear of Him as judge for our right fear of Him as Savior.