first one was either a hornet or a yellow jacket (way too fast and blurry to distinguish)
second one was even faster and blurrier, but i think i saw really long legs and my most probable guess would be a paper wasp
either way, both flying insects did something to cause the mantises to back off or retreat.