Like some other stem borers, ironweed longhorn borers sever stems after laying eggs.
A coneflower stem severed by an ironweed longhorn borer. Note the egg niches just above the wound.

Photo modified from one by Leigh Simpson