It could have been a shell-less egg, and the membrane could have already been passed. It probably attracted the other chickens. They will scarf down an egg membrane or parts, and the red prolapse can also attract pecking. Just give an update later as to how she is getting along. It can take days for a prolapse to stay in, so just keep her separated.