Frogs croak because they attract females this way. So, only male frogs croak. But, for reasons undiscovered reasons to me, the females hear a noise from the male, and other male frogs hear something. The females hear "Hey, baby, come join me on my lilypad". The males hear a powerful "Hey, don't enter my territory!" This is actually true. Cool how evolution works, huh?