Skater rolls down a ramp

When a skater rolls down a ramp, why does friction make the skater’s height lower on the way back up? Explain using work and energy concepts