That mantis runned away because he was immature so he couldn't mate with her, he was boxing to prevent him from being eaten. When a mantis is moving abdomen (like Pseudocreobotra ocellata for example) it's trying to move like a wind. In nature this probably helps them to camouflage.