At the bike co-op where I volunteer, it is a regular occurrence for people to come in with a broken drive side spoke - and when we get the cassette/freewheel removed, all the outer drive side spokes are mangled.
Bikes fall over, derailleur hangers bend; limit screws might be set wrong (because the shifter is set right); twigs can snag in derailleur cables thus changing gears; twigs can snag in chains or a chain can seize, thus causing the derailleur to get pulled into the cogs; and so on. In other words, even when a bike is set up correctly, things happen. It is much better to have just a destroyed derailleur, than a destroyed derailleur and rear wheel.