Especially if the pink pig is facing the appropriate direction, I think she probably went to jump and, in a freak accident, her leg went through the bars...she got stuck and hung up.
This is how it happens. I lost a male to shock from getting entrapped in cage wire this year. Not preventable. If somebody else see's something I don't, DO chime in...but I really just don't see another possibility?