When you belly flop into a pool, your body has quite a bit of kinetic energy, which is energy of motion. When you fall flat onto the water, that kinetic energy gets converted as your body suddenly decelerates upon impact with the water. Some of the energy turns into the loud slapping sound you hear. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.