Bella does this, too. It's what I call her butthole moments. During the weekday a.m., I started taking her out with a leash.
She knows when I'm in a hurry, and I need her to be quick. She chooses these times to run around in circles in our backyard...with me chasing her. I have to chase her, so she wears herself out. Otherwise, she'll have time to catch her breath, and she'll keep revving up.
If she doesn't do that, she'll dart inside, run past her crate, run upstairs, and try to hide from me. That's NOT fun.
The leash takes care of that.