These are common blue damselflies. What is going on?

This is how damselflies and dragonflies mate. The blue and red ones are the males. They stay joined for several minutes and can even fly together like this.