This used to happen to mine. Think I went through five or six before it stopped! Reckon it was down to chain being too short or back end possibly loose.
chain being to short so when the bike bottoms out its pulling the mech forwards and ripping off the dropout. Remove the shock and check the chain length at bottom out to check this