I have some females that go through this behavior(not all). I believe it has to do with nesting and the need to seek out a safe and secure spot to lay the eggs. Just leave her be, she knows what to do.