If the wither is alone and has no targets to actively seek out and attack, they have this weird pathfinding behavior where they slowly hover for a short while then landing, almost as if like they reuse the parrot's pathfinding behavior in this case.
This appears to have been a result of MC-29274 being fixed and since 1.18, they pathfind like this as of now. Before said fix, the wither used to have a completely different pathfinding behavior.
Thank you for helping us improve Minecraft! We saved your files: