Both are good schools - it’s hard to say one has a big advantage over the other.
Do you want to be in Seattle or SD is one factor. Seattle is a nice vibrant city, but … SoCal weather!!!
Another is which is more well-known in your home country. (I.e., I live in China, and here the UCs would be more well-known).