I'll be "that guy".
The lanes are assigned based on the times they swam in the qualifications before this race.
So this wasn't intentional by anyone - unless those two were really really good at swimming very precise times and did this on purpose. Not likely.