This is the reason why state university generally ranks lower, because they generally need to admit as many in-state students as possible, this is the responsibility of the university for being funded by the state.
Berkely likes out-of-state student, and the governor openly critized it , and explicitly demanded it to make changes.