Moaning shows off the physical exertion of giving or receiving.
A study found that tennis players aren't working any harder when they grunt, but they perform better when they grunt as they whack their balls.
Apply this to sex: moaning - same amount of work, better performance.