No one is certain. At some random point for different people, you lose the dialogue options to have her rejoin you after either dismissing her, or giving her the 'wait' command. I suspect it is a bug due to that last one, plus it isn't 'in character' for her if you follow a certain dialogue path through the dg mq.
I don't know if it's permanent (I suspect it is), and the only solution so far is to go back to a previous save and not have her leave your side at all, for whatever reason, if you want to keep her.