It’s not unusual to be rejected from higher acceptance rate schools and then get into ones considered “harder”. Also Berkeley is known for being very holisitic and more flexible with GPA and valuing rigor and impact more. Plus, know that Cal poly and SDSU only looks at grades but in easy classes, so somebody who took 2 APS but got all As will get in while someone who took 12 APS but had 1-2 Bs might not. It’s a crazy system but the kids who get into and choose the state schools, it’s not the people who take the challenging classes. I have gotten into a few other UCs, some really good out of state schools, but waitlisted Cal Poly. I know exactly what my friends who got into Cal Poly took and it was easy classes only. I think you have Berkeley, good luck!