UCSD like all the UC’s offer little to no financial aid to OOS students. Expect to pay close to full fees at $65K/year to attend.
If you want an estimate of your costs, use the linked Net Price calculator:
https://students.ucsd.edu/finances/financial-aid/forms/calculator.html
There are also only a few scholarships/merit aid offered at UCSD and you usually need to be in the top 1-2% of applicants. Bottom line is financial aid is available to in-state students since UCSD is a California public university.