# A parallel between eddy current and Beer-Lambert law

For AC current flowing in wire eddy currents are the reason for current density decay as we move towards the center.

Similarly, in Beer-Lambert law, for electromagnetic plane wave impinging on surface of conductor, current density decay as we move deeper into conductor. But in this case where does the eddy current come into picture? How do you explain the decay in this case?