She very well could have a baby stuck in the birth canal. Dogs & cats often times look like this when a baby is stuck- I can't imagine how it would be any different with mice. Her body is contracting so hard to try to get the baby out, that it has constricted to the point of her sides "caving in".
Not saying that's the definite, but a very good possibility.