Veggies look like the aftermath of a stampede

After about 3.8” of rain, my veggies look beaten.

Most should produce fine but the peas may be goners:

Some kind of rot in the lower stems, many are no longer intact at all. What is this?