Just guessing without seeing, but because snake's jaws are so flexible, sometimes snakes get their own teeth caught on their own mouth (inwardly) & if they
cannot yawn their way out of it, you can sometimes use something like a tongue depressor or a pen (retracted) to help them un-hook & unfold their stuck teeth.
Is this by chance what you're seeing? Yours isn't the first...it happens & usually not serious, but they can sure use our help when their teeth catch this way.