Why did my package backtrack?

I live in Granada hills. I ordered a package that's coming from Canada via USPS. It arrived at the Van Nuys USPS location recently. Later as I tracked my package, it said it arrived at the Santa Clarita USPS which is a bit farther from where I live than the Van Nuys location. Why would my package go to the Santa Clarita location rather than the San Fernando location which is much close to my house than either of those USPS locations?
Why did my package backtrack?
Post Opinion