ESD, and like @lowpitch said, user error.
Devices don't like their inputs and outputs to exceed their supply voltage, the diodes prevent the input/output signal from going outside of the VCC/GND range of the pedal to prevent any damage.
And like @HamishR said, this is pretty common to see in...