Birds can occasionally do flying in place maneuvers, which is somewhat buggy behaviour in itself, but as this one didn't escape it's been even more buggy.
Quite impossible to say what happened there. Savegame might have revealed it. So if it happens again I'd be interested to take a look at the savegame while the bird is still alive and flying (in place).