It looks like they are setting up the ground rules, or who’s to be in charge.
These two made for many interesting shots the other day, I hope this is how they work during the entire mating season.
A few years ago there were a pair that constantly interacted with each other and made amazing images. I have one hanging in my office by me desk.
Two Herons having a conversation.