I believe when the wave encounters a large gapless barrier, the barrier will absorb some of the wave's energy.
A wave is a periodic disturbance that propagates itself through a medium or space. When a wave encounters a barrier that is the boundary of the medium in which the wave is travelling, the wave is reflected, and the barrier may absorb some energy of the wave.