An older thread on this topic talks about wild junglefowl behavior, using egg song to find the flock or draw predators away (this latter one doesn't make sense to me). Googled and there is evidence of chicken domestication going back to 7000 BC, so this is a very tweaked crittter. Maybe the egg song is just joy d'vivre or boasting. Express yourself, girls!