That's an interesting occurance! It only happens when she's on the trampoline? Maybe the force from jumping and such is causing her the pain. I've really never heard of anything like this, so I'm afraid I'm not much help. I'd maybe take her in to the Dr. if you are concerned, just to rule out any underlying conditions.
Hope all goes well! :)