To summarize, there is an inconsistency in her behavior. In addition there was no foreshadowing or given reason to her shift in character it just happened spontaneously. This is a either a slip up in story telling or the author trying to force a straight man comedy.