Marine Geologists found that if you put enough energy into the “ping” you could get echoes from the layers of sediments and rocks beneath the bottom profile…
http://www.oicinc.com/history_sonars.html

There are two main types of sonars; multibeam sonars for mapping bathymetry, and sidescan sonars for mapping seafloor imagery

Multi beam sonar

Side scan sonar