Adults not seen often and move away quickly. Antennae show it's a moth not bee or fly.
Typical damaged stem of summer squash with borers.
Found this guy hanging out on my garden wall
This is My 2011 Experiment Against the Squash Vine Borer Using Screening/Sand/Industrial lamp shades
vine borer larvae exiting zucchini leaf.