Why were the Migrants hearded to Tijuana?
There are two reasons.
The first reason can be summed up in two words: Ninth Circuit.
The second reason for travelling twice the distance is that California is a sanctuary state with dozens of sanctuary cities
https://kriskobach.com/