When sound strikes a surface, some of the sound gets reflected by the surface and some of it gets absorbed. If the surface is hard then most of the sound gets reflected and a little is absorbed while if the surface is soft, then most of the sound is absorbed and a little is reflected.