I bet this is what happened. Operator error. It takes a while for the electric element to cool down so it was still producing heat when she closed the valve so it built up pressure again but not quite enough to prevent her from turning the lid to take it off.
I’m not sure of this,but I think sudden release of pressure,even if it is small,can cause rapid boiling & some pressure buildup....possibly enough to scald someone.