With Arduino/RAMPS electronics, when using a simple microswitch endstop, you have a 2-pin connector that you have to plug into a 3-pin socket. If you plug the 2-pin connector into the wrong end of the 3-pin connector, you short +5V to ground. This frequently blows the 5V regulator on the Arduino. It's an example of stupid design: if users have to plug a 2-pin cable socket into a 3-pin header, a lot of them will get it the wrong way round.
I guess the original designers of the Duet (Adrian Bowyer and Tony Lock) realised how stupid this was, because they chose the pinout of the 3-pin connector such that you used the two outer pins to connect a simple microswitch - the most common type of endstop switch. So it doesn't matter which way round you connect it.
Unfortunately, this means that if you convert a printer using RAMPS or similar electronics to Duet, and you don't read any of the warnings we publish about the different endstop connections but instead connect your 2-pin endstop switch cable randomly into one end of the endstop connector on the Duet, you have a 50% chance of shorting 3.3V to ground. However, the 3.3V regulator on the Duet is tougher than the one on the Arduino, so this doesn't normally cause any permanent damage.
HTH David