Mums know their baby and you can tell what's the matter and where the pain is, if there is one. Drawing legs up indicates tummy ache etc. Quite often crying means baby is hungry or needs changing
It's a good job that we cannot remember our birth. Getting your head and body out of that little hole, with someone pushing you, must have been very traumatic.