Agreed, the planes are going to, or from, the airport gates.
My Guess, these are planes stacked up waiting for clearance to takeoff.
These could be two planes heading to neighbouring gates (??). I think the Controllers would spread them out so they do not bump each other while parking
Not unusual when weather (like the fog in the photos) backs up traffic to and from the tarmac.