I would agree that there is no way the hitch pin is going to move and sheer off the cotter pin. Either the fit was loose, the pin just happened to break and fall out on its own, you actually did forget to install it (I have) or someone sabotaged you.
I use a
locking hitch pin like this and for the latch I use something
like this pin.
Bill